Commit Graph
5 Commits
Author SHA1 Message Date
Hai Shang 0849bc7598 Use absl::variant for PresenceScanFilter and legacy.
PiperOrigin-RevId: 467982930
2022-08-16 11:44:49 -07:00
Janusz Sobczak 6e6ae3ebd7 Decode the action in Base NP advertisements back into a list of Data Elements
PiperOrigin-RevId: 466204445
2022-08-08 19:39:05 -07:00
jsobczak ce6c5893d7 Fix Action Data Elements construction.
Data Elements representing an action should have the type set to
kActionFieldType, and the actual action stored in the value.

PiperOrigin-RevId: 465365230
2022-08-04 11:40:04 -07:00
jsobczak a56d36f3a5 Move constants to DataElement.
The move will allow us to reuse these constants.

PiperOrigin-RevId: 463670924
2022-07-27 13:54:46 -07:00
jsobczak b92881a460 Define Data Elements and ActionFactory.
Data Elements describe the custom data entities that can be added
to an advertisement.
ActionFactory takes a list of Data Elements and creates an Action
for the base NP advertisement.

PiperOrigin-RevId: 460557059
2022-07-12 14:48:42 -07:00