Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

belongs to Maven artifact androidx.mediarouter:mediarouter:1.1.0-alpha01

RemotePlaybackClient.OnMessageReceivedListener

public static interface RemotePlaybackClient.OnMessageReceivedListener

androidx.mediarouter.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

public abstract void onMessageReceived (String sessionId, 
                Bundle message)

Called when a message received.

Parameters
sessionId String: The session id.

message Bundle: A bundle message denoting MediaControlIntent.EXTRA_MESSAGE.