amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.realtime.datamessage / DataMessageObserver

DataMessageObserver

interface DataMessageObserver

DataMessageObserver lets one listen to data message receiving event. One can subscribe this observer to multiple data message topic in order to receive and process the message that sent to the topics.

Note: callback will be called on main thread.

Functions

onDataMessageReceived

Handles data message being received.

abstract fun onDataMessageReceived(dataMessage: DataMessage): Unit