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