Type Function Return value none Revision Release 2024.3703 Keywords Google Play Games Services, game network, gpgs, invitations, setListener See also gpgs.multiplayer.invitations gpgs.multiplayer gpgs.*
Registers a listener function to intercept incoming invitations for the current user. If a listener is registered by this method, the incoming invitation will not generate a status bar notification as long as this client remains connected.
Only one invitation listener may be active at a time. Calling this method while another invitation listener is registered will replace the original listener with the new one.
gpgs.multiplayer.invitations.setListener( listener )