public static interface RealTimeMultiplayerClient.ReliableMessageSentCallback implements
RealTimeMultiplayer.ReliableMessageSentCallback
Callback used when the sending of a reliable message has completed.
Public Method Summary
abstract void |
onRealTimeMessageSent(int statusCode, int tokenId, String
recipientParticipantId)
Called to notify the client that a reliable message was sent for a room.
|
Inherited Method Summary
Public Methods
public abstract void onRealTimeMessageSent (int statusCode, int tokenId, String recipientParticipantId)
Called to notify the client that a reliable message was sent for a room. Possible status codes include:
OK
if the message was successfully sent.REAL_TIME_MESSAGE_SEND_FAILED
if the attempt to send message failed due to network error.REAL_TIME_ROOM_NOT_JOINED
if the attempt to send message failed because the user has not joined the room.
Parameters
statusCode | A status code indicating the result of the operation. |
---|---|
tokenId | The ID of the message which was sent. |
recipientParticipantId | The participant ID of the peer to whom the message was sent. |