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.

The developer center about creating games for Android. Learn how to develop, optimize, and publish your Android game using the latest tools and SDKs.

Updated Aug 15, 2023

Google Play's billing system is a service that enables you to sell digital products and content in your Android app.

Updated Jan 7, 2025

Google Play's billing system is a service that enables you to sell digital products and content in your Android app.

Updated Jan 3, 2024