create Event
open override fun createEvent(eventType: String, properties: Map<String, Any?>, context: Activity?, callback: Callback?)
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.
The data structure needs to match the structure of the existing EventType
Parameters
event Type
The event type.
properties
A map with properties for the event.
context
The current activity.
callback
The callback function containing information about the operation.