gpgs.getAccountName()

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

Overview

Requests the current player's account name.

Note

If you want to use this function, you must include the GET_ACCOUNTS permission in your build.settings file — please see here for instructions.

Syntax

gpgs.getAccountName( [listener] )
listener (optional)

Listener. Listener function which receives a getAccountName event.