Messaging
Types
Functions
Link copied to clipboard
Add message listener.
Link copied to clipboard
Returns device version service.
Link copied to clipboard
Remove message listener.
Link copied to clipboard
abstract fun sendAction(messageName: MessageName, payload: Payload, stateLevel: StateLevel = StateLevel.UNSUPPORTED, serverActionMode: ServerActionMode = ServerActionMode.FOREGROUND): MessageId
simple ServerAction example messageName: SERVER_ACTION payload: {"action_id": "GET_STREAM", "parameters": {"content_id": "111111"}}
abstract fun sendAction(messageName: MessageName, payload: Payload, androidApplicationID: String, stateLevel: StateLevel = StateLevel.UNSUPPORTED, serverActionMode: ServerActionMode = ServerActionMode.FOREGROUND): MessageId
Send server_action with source app androidApplicationID For internal use only.