com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListener |
Listener invoked when the status of a room, status of its participants or connection status of the participants has changed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the client is connected to the connected set in a room.
| |||||||||||
Called when the client is disconnected from the connected set in a room.
| |||||||||||
Called when the client is successfully connected to a peer participant.
| |||||||||||
Called when client gets disconnected from a peer participant.
| |||||||||||
Called when one or more peers decline the invitation to a room.
| |||||||||||
Called when one or more peers are invited to a room.
| |||||||||||
Called when one or more peer participants join a room.
| |||||||||||
Called when one or more peer participant leave a room.
| |||||||||||
Called when one or more peer participants are connected to a room.
| |||||||||||
Called when one or more peer participants are disconnected from a room.
| |||||||||||
Called when the server has started the process of auto-matching.
| |||||||||||
Called when one or more participants have joined the room and have started
the process of establishing peer connections.
|
Called when the client is connected to the connected set in a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully.
|
---|
Called when the client is disconnected from the connected set in a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully.
|
---|
Called when the client is successfully connected to a peer participant.
participantId | ID of the peer participant who was successfully connected. |
---|
Called when client gets disconnected from a peer participant.
participantId | ID of the peer participant who was disconnected. |
---|
Called when one or more peers decline the invitation to a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully. |
---|---|
participantIds | IDs of the peers invited to a room. |
Called when one or more peers are invited to a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully. |
---|---|
participantIds | IDs of the peers invited to a room. |
Called when one or more peer participants join a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully. |
---|---|
participantIds | IDs of peer participants who joined a room. |
Called when one or more peer participant leave a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully. |
---|---|
participantIds | IDs of peer participants who left the room. |
Called when one or more peer participants are connected to a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully. |
---|---|
participantIds | IDs of peer participants who were connected. |
Called when one or more peer participants are disconnected from a room.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully. |
---|---|
participantIds | IDs of peer participants who were disconnected. |
Called when the server has started the process of auto-matching. Any invited participants must have joined and fully connected to each other before this will occur.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully.
|
---|
Called when one or more participants have joined the room and have started the process of establishing peer connections.
room | The room data with the status of a room and its participants. The room can be
null if it could not be loaded successfully.
|
---|