onMessageReceived

abstract fun onMessageReceived(room: Room, participant: RemoteParticipant, message: String)

Raised when a data channel message is received.

Parameters

room

The room the local user is in.

participant

Remote participant.

message

The received data channel message.