Type Function Return value none Revision Release 2025.3714 Keywords Google Play Games Services, game network, gpgs, multiplayer, real-time, leave See also gpgs.multiplayer.realtime gpgs.multiplayer gpgs.*
Leaves the specified room. This will disconnect the player from the room but allow other players to continue playing the game. The result is delivered to the room
listener defined using gpgs.multiplayer.realtime.setListeners().
After this method is called, you cannot perform any further actions on the room, and you can only create or join another room after the correspoding room event is received.
gpgs.multiplayer.realtime.leave( roomId )
String. The room to leave.