achievements.setSteps()

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

Overview

Sets an incremental achievement to the specified amount of steps.

Syntax

gpgs.achievements.setSteps( params )
params (required)

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table contains parameters for the call.

achievementId (required)

String. Achievement to update.

steps (required)

Number. Amount of steps for the achievement.

listener (optional)

Listener. Listener function which receives a setSteps event.