createEvent

abstract fun createEvent(eventType: String, properties: Map<String, String?>)

Registers an event of the specified type with the given properties.

For a "PAGEVIEW" event a screenName can be passed in the properties, so interactions can be restricted on the where tab in BlueConic.

For a "VIEW", "CLICK" or "CONVERSION" event an interactionId should be passed in the properties to register the event for.

Parameters

eventType

The event type. e.g {"PAGEVIEW", "VIEW", "CLICK", "CONVERSION"}.

properties

A map with properties for the event.


abstract fun createEvent(eventType: String, properties: Map<String, String?>, callback: Runnable?)

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.

For a "PAGEVIEW" event a screenName can be passed in the properties, so interactions can be restricted on the Where tab in BlueConic.

For a "VIEW", "CLICK" or "CONVERSION" event an interactionId should be passed in the properties to register the event for.

Parameters

eventType

The event type. e.g {"PAGEVIEW", "VIEW", "CLICK", "CONVERSION"}.

properties

A map with properties for the event.

callback

The callback.


abstract fun createEvent(eventType: String, properties: Map<String, String?>, context: Activity, callback: Runnable?)

Registers an event of the specified type with the given properties.

For a "PAGEVIEW" event a screenName can be passed in the properties, so interactions can be restricted on the Where tab in BlueConic.

For a "VIEW", "CLICK" or "CONVERSION" event an interactionId should be passed in the properties to register the event for.

Parameters

eventType

The event type. e.g {"PAGEVIEW", "VIEW", "CLICK", "CONVERSION"}.

properties

A map with properties for the event, only accepting string to string map

context

The current activity.

callback

The Callback


abstract fun createEvent(eventType: String, properties: Map<String, String?>, context: Activity)

Registers an event of the specified type with the given properties.

For a "PAGEVIEW" event a screenName can be passed in the properties, so interactions can be restricted on the Where tab in BlueConic.

For a "VIEW", "CLICK" or "CONVERSION" event an interactionId should be passed in the properties to register the event for.

Parameters

eventType

The event type. e.g {"PAGEVIEW", "VIEW", "CLICK", "CONVERSION"}.

properties

A map with properties for the event, only accepting string to string map

context

The current activity.