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

# addRealtimeDataMessageObserver

`abstract 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