Blue Conic Client
Types
Interface for the connections.
Interface for the interaction context.
Properties
The consented objectives IDs of this profile in a list, e.g. {"tracking", "advertising"}. Passing a property that was already set with values will cause the old values to be removed.
The privacy legislation for this profile, e.g. "GDPR". Passing a property that was already set with values will cause the old values to be removed.
The refused objectives IDs of this profile in a list, e.g. {"tracking", "advertising"}. Passing a property that was already set with values will cause the old values to be removed.
Returns the screen name. When the screen name is set with a call to createEvent in the Activity's onResume method it will return that screen name. Otherwise it will return the Activity's title. This method is typically used in Plugins.
Returns all segments for the profile. The segments are retrieved by each PAGEVIEW event.
Functions
Adds a single objective ID to the consented objectives for this profile. If there are already values for a property the new value will be added. Values for a property need to be unique; passing the same value multiple times will have no effect.
Adds a single property value to the profile. If there are already values for a property the new value will be added. Values for a property need to be unique; passing the same value multiple times will have no effect.
Adds property values to the profile. The values from the collection are added to the profile. If there are already values for a property the new values will be added. Values for a property need to be unique; passing the same values multiple times will have no effect.
Adds a single objective ID to the refused objectives for this profile. If there are already values for a property the new value will be added. Values for a property need to be unique; passing the same value multiple times will have no effect.
Registers an event of the specified type with the given properties.
Registers an event of the specified type with the given properties. For a "PAGEVIEW" event a screenName can be passed, so interactions can be restricted on the Where tab in BlueConic.
Registers an event of the specified type with the given data. The data object can contain a nested structure to be sent over custom events and/or with Timeline context in order to register timeline events.
Registers an event of the specified type with the given data. The data object can contain a nested structure to sent over custom events and/or with Timeline context in order to register timeline events.
Triggers a call to onDestroy on every plugin that was retrieved at the last PAGEVIEW.
Returns the first value for a given profile property.
Returns the values for a given profile property. For example, it can return all the values in a list of hobbies, e.g. {"tennis", "soccer"}.
Returns whether a profile has a segment or not.
Increments a single property value to the profile. If there are already values for a property the new value will be the sum of all values.
Register a plugin class. This is optional. Can be used to mark and define which Plugin classes to use for BlueConic when a page view is registered.
Register a plugin class with a specific name. This is optional. Can be used to mark and define which Plugin classes to use for BlueConic when a page view is registered.
Sets a value on the profile. Passing a property that was already set with values will cause for the old values to be removed.
Sets values on the profile. Passing a property that was already set with values will cause for the old values to be removed.
Updates the profile to sync over the data from the Mobile app to the BlueConic servers and also pulls in the data that has changed on the BlueConic side.
Update the profile to sync over the data from the Mobile app to the BlueConic servers and; also pull in the data that has changed on the BlueConic side.