SessionConnectionReceiver


@RequiresApi(value = 26) interface SessionConnectionReceiver


Receiver callback for a SessionRemoteConnection.

Summary

Public methods

abstract void
onMessageReceived(
    @NonNull SessionParticipant participant,
    @NonNull byte[] payload
)

Called when a message is received on the registered channel.

Public methods

onMessageReceived

abstract void onMessageReceived(
    @NonNull SessionParticipant participant,
    @NonNull byte[] payload
)

Called when a message is received on the registered channel.