added in version 24.1.0
belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1

RemotePlaybackClient.OnMessageReceivedListener

public static interface RemotePlaybackClient.OnMessageReceivedListener

android.support.v7.media.RemotePlaybackClient.OnMessageReceivedListener


A callback that will receive messages from media sessions.

Summary

Public methods

abstract void onMessageReceived(String sessionId, Bundle message)

Called when a message received.

Public methods

onMessageReceived

added in version 24.1.0
void onMessageReceived (String sessionId, 
                Bundle message)

Called when a message received.

Parameters
sessionId String: The session id.

message Bundle: A bundle message denoting EXTRA_MESSAGE.