com.google.android.gms.games.RealTimeMultiplayerClient.ReliableMessageSentCallback |
Callback used when the sending of a reliable message has completed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to notify the client that a reliable message was sent for a room.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 |
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.
|