public interface

RemotePlaybackClient.OnMessageReceivedListener

 androidx.mediarouter.media.RemotePlaybackClient.OnMessageReceivedListener

Overview

A callback that will receive messages from media sessions.

Summary

Methods
public voidonMessageReceived(java.lang.String sessionId, Bundle message)

Called when a message received.

Methods

public void onMessageReceived(java.lang.String sessionId, Bundle message)

Called when a message received.

Parameters:

sessionId: The session id.
message: A bundle message denoting MediaControlIntent.EXTRA_MESSAGE.