gpgs.quests.setListener()

Type Function
Return value none
Revision 2017.3060
Keywords Google Play Games Services, game network, gpgs, quests, setListener
See also gpgs.quests
gpgs.*

Overview

Registers a listener function to receive updates on quests.

Gotchas

Only one quest listener may be active at a time. Calling this method while another quest listener is registered will replace the original listener with the new one.

Syntax

gpgs.quests.setListener( listener )
listener (required)

Listener. Listener function which receives a quest event.