sendEvent

abstract fun sendEvent(eventType: String, content: Content?): Cancelable

Method to send a generic event asynchronously. If you want to send a state event, please use StateService instead.

Return

a Cancelable

Parameters

eventType

the type of the event

content

the optional body as a json dict.