achievements.reveal()

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

Overview

Reveals a hidden achievement.

Syntax

gpgs.achievements.reveal( 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 reveal.

listener (optional)

Listener. Listener function which receives a reveal event.