publish Advanced Event
abstract fun publishAdvancedEvent(eventName: String, context: List<String> = mutableListOf(), callback: Callback? = null)
Publishes an ADVANCED event with the given selector and context.
Parameters
event Name
The event name.
context
The list of context elements.
callback
The callback function containing information about the operation.
abstract fun publishAdvancedEvent(eventName: String, context: Map<String, String>, callback: Callback? = null)
Publishes an ADVANCED event with the given event name and object context. Use this variant for rules that select a top level key of the context instead of an array position.
Parameters
event Name
The event name.
context
The context as a map of top level keys to values.
callback
The callback function containing information about the operation.