Google is committed to advancing racial equity for Black communities. See how.

CastReceiverContext.MessageReceivedListener

public static interface CastReceiverContext.MessageReceivedListener

Listener for listening messages that come from the sender.

Public Method Summary

abstract void
onMessageReceived(String namespace, String senderId, String message)
Called when a new message is received from the sender.

Public Methods

public abstract void onMessageReceived (String namespace, String senderId, String message)

Called when a new message is received from the sender.

Parameters
namespace the namespace of the message
senderId the sender ID of this message
message the message from the sender