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

RealTimeMessageReceivedListener

public interface RealTimeMessageReceivedListener
Known Indirect Subclasses

This interface is deprecated.
Use OnRealTimeMessageReceivedListener.

Listener for message received callback, which is called when the client receives a message from a peer.

Public Method Summary

abstract void
onRealTimeMessageReceived(RealTimeMessage message)
Called to notify the client that a reliable or unreliable message was received for a room.

Public Methods

public abstract void onRealTimeMessageReceived (RealTimeMessage message)

Called to notify the client that a reliable or unreliable message was received for a room.

Parameters
message The message that was received.