gpgs.getAccountName()

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

Overview

Requests curent player's account name. Requires GET_ACCOUNTS android permission, if you want to use it, be sure to include it in your build.settings file.

Syntax

gpgs.getAccountName(listener)
listener (optional)

Listener. Receives getAccountName event.