players.showCompare()

Type Function
Return value none
Revision Release 2022.3683
Keywords Google Play Games Services, game network, gpgs, players, showCompare
See also gpgs.players
gpgs.*

This feature is currently only supported on Android.

Overview

Shows a view to compare the current player with a specified one.

Syntax

gpgs.players.showCompare( 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.

playerId (required)

String. The player to compare with.

listener (optional)

Listener. Listener function which receives a showCompare event.