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.
onDataMessageReceived |
Handles data message being received. abstract fun onDataMessageReceived(dataMessage: DataMessage): Unit |