Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

General API

alextel69 edited this page Apr 19, 2014 · 1 revision

This doc refers to Games.* methods and constants, which are responsible for general API (sign-in events listening, signing in/out, checking sign-in status)

Games.initialize():void

Call before "Games.start()"

Games.start():void

Starts sign-in flow. This does not necessarily mean sign-in UI will be shown

Games.promptUserToSignInOnStartup(enable:Boolean):void

Games.beginUserInitiatedSignIn():void

Games.signOut():void

Games.addStatusEventListener(listener:Function):void

Games.removeStatusEventListener(listener:Function):void

Games.isSignedIn():Boolean