SessionConnectionReceiver
@RequiresApi(value = 26) interface SessionConnectionReceiver
Receiver callback for a SessionRemoteConnection
.
Summary
Public functions |
|
---|---|
Unit |
onMessageReceived(participant: SessionParticipant, payload: ByteArray) Called when a message is received on the registered channel. |
Public functions
onMessageReceived
fun onMessageReceived(participant: SessionParticipant, payload: ByteArray): Unit
Called when a message is received on the registered channel.