amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.realtime / DefaultRealtimeController / addRealtimeDataMessageObserver

addRealtimeDataMessageObserver

fun addRealtimeDataMessageObserver(topic: String, observer: DataMessageObserver): Unit

Subscribes to receive message on a topic, there could be multiple observers per topic

Parameters

topic - : String - topic of messages for subscription

observer - : DataMessageObserver - observer that handles the data message events