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

Link copied to clipboard
abstract fun onDataMessageReceived(dataMessage: DataMessage)

Handles data message being received.