RemotePlaybackClient.OnMessageReceivedListener


interface RemotePlaybackClient.OnMessageReceivedListener


A callback that will receive messages from media sessions.

Summary

Public functions

Unit
onMessageReceived(sessionId: String, message: Bundle?)

Called when a message received.

Public functions

onMessageReceived

Added in 1.1.0
fun onMessageReceived(sessionId: String, message: Bundle?): Unit

Called when a message received.

Parameters
sessionId: String

The session id.

message: Bundle?

A bundle message denoting EXTRA_MESSAGE.