Type Function Return value none Revision Release 2024.3703 Keywords Google Play Games Services, game network, gpgs, multiplayer, real-time, setListeners See also gpgs.multiplayer.realtime gpgs.multiplayer gpgs.*
Registers listeners to intercept incoming messages for the multiplayer room. This is useful for tracking the status of peers, the room, and messages.
Only one listener of each type may be active at a time. Calling this method while another listener of the same type is registered will replace the original listener with the new one.
gpgs.multiplayer.realtime.setListeners( params )
Table. Contains parameters for the call — see the next section for details.