com.google.android.gms.games.multiplayer.realtime.RealTimeMultiplayer.ReliableMessageSentCallback |
The listener for callback that is called when a reliable message is sent successfully.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to notify the client that a reliable message was sent for a room.
|
Called to notify the client that a reliable message was sent for a room. Possible status codes include:
STATUS_OK
if the message was successfully sent.STATUS_REAL_TIME_MESSAGE_SEND_FAILED
if the attempt to send
message failed due to network error.STATUS_REAL_TIME_ROOM_NOT_JOINED
if the attempt to send
message failed because the user has not joined the room.Parameters | |
---|---|
statusCode |
int :
A status code indicating the result of the operation. |
tokenId |
int :
The ID of the message which was sent. |
recipientParticipantId |
String :
The participant ID of the peer to whom the message was
sent.
|