Cast.MessageReceivedCallback

public static interfaceCast.MessageReceivedCallback
Known Indirect Subclasses

The interface to process received messages from aCastDevice.

Public Method Summary

abstract void
onMessageReceived(CastDevice castDevice,Stringnamespace, String message)
Called when a message is received from a givenCastDevice.

Public Methods

public abstract voidonMessageReceived(CastDevicecastDevice, Stringnamespace, String message)

Called when a message is received from a givenCastDevice. This method is called on the main thread.

Parameters
castDevice The castDevice from whence the message originated.
namespace The namespace of the received message.
message The received payload for the message.