RemotePlaybackClient.OnMessageReceivedListener


public interface RemotePlaybackClient.OnMessageReceivedListener


A callback that will receive messages from media sessions.

Summary

Public methods

abstract void

Called when a message received.

Public methods

onMessageReceived

Added in 1.1.0
abstract void onMessageReceived(@NonNull String sessionId, @Nullable Bundle message)

Called when a message received.

Parameters
@NonNull String sessionId

The session id.

@Nullable Bundle message

A bundle message denoting EXTRA_MESSAGE.