Package | com.myflashlab.air.extensions.googleGames |
Class | public class Games |
Inheritance | Games Object |
Property | Defined By | ||
---|---|---|---|
achievements : Achievements [static] [read-only]
Returns an instance of Achievements class. | Games | ||
events : TheEvents [static] [read-only]
Returns an instance of TheEvents class. | Games | ||
invitations : Invitations [static] [read-only]
Returns an instance of Invitations class. | Games | ||
leaderboards : Leaderboards [static] [read-only]
Returns an instance of Leaderboards class. | Games | ||
listener : EventDispatcher [static] [read-only]
Use this property to listen to GamesEvents.CONNECT_SUCCESS and GamesEvents.CONNECT_FAILURE
. | Games | ||
metadata : Metadata [static] [read-only]
Returns an instance of Metadata class. | Games | ||
notifications : Notifications [static] [read-only]
Returns an instance of Notifications class. | Games | ||
players : Players [static] [read-only]
Returns an instance of Players class. | Games | ||
realtime : RealTime [static] [read-only]
Returns an instance of RealTime class. | Games | ||
snapshots : Snapshots [static] [read-only]
Returns an instance of Snapshots class. | Games |
Method | Defined By | ||
---|---|---|---|
dismiss():void [static] | Games | ||
[static]
Call this method as the first method before starting to use the GameServices ANE but call it after
you are sure that the user is signed in your app using the GoogleSignin ANE. | Games | ||
showSettingsWindow():void [static] | Games |
Constant | Defined By | ||
---|---|---|---|
EXTENSION_ID : String = com.myflashlab.air.extensions.gameServices [static] | Games | ||
FAILURE : int = -1 [static] | Games | ||
PAGE_DIRECTION_NEXT : int = 0 [static] Direction advancing toward the end of the data set. | Games | ||
PAGE_DIRECTION_NONE : int = -1 [static] Constant indicating that no pagination is occurring. | Games | ||
PAGE_DIRECTION_PREV : int = 1 [static] Direction advancing toward the beginning of the data set. | Games | ||
SORT_ORDER_MOST_RECENT_FIRST : int = 0 [static] Sort multiplayer activities by their last-modified timestamp with most recent first. | Games | ||
SORT_ORDER_SOCIAL_AGGREGATION : int = 1 [static] Sort multiplayer activities such that activities from players in the user's circles are returned first. | Games | ||
SUCCESS : int = 0 [static] | Games | ||
VERSION : String = 5.0.0 [static] | Games |
achievements | property |
achievements:Achievements
[read-only] Returns an instance of Achievements class.
public static function get achievements():Achievements
events | property |
events:TheEvents
[read-only] Returns an instance of TheEvents class.
public static function get events():TheEvents
invitations | property |
invitations:Invitations
[read-only] Returns an instance of Invitations class.
public static function get invitations():Invitations
leaderboards | property |
leaderboards:Leaderboards
[read-only] Returns an instance of Leaderboards class.
public static function get leaderboards():Leaderboards
listener | property |
listener:EventDispatcher
[read-only]
Use this property to listen to GamesEvents.CONNECT_SUCCESS
and GamesEvents.CONNECT_FAILURE
. When CONNECT_SUCCESS occurs, you can call other methods and classes of this ANE.
public static function get listener():EventDispatcher
metadata | property |
metadata:Metadata
[read-only] Returns an instance of Metadata class.
public static function get metadata():Metadata
notifications | property |
notifications:Notifications
[read-only] Returns an instance of Notifications class.
public static function get notifications():Notifications
players | property |
players:Players
[read-only] Returns an instance of Players class.
public static function get players():Players
realtime | property |
realtime:RealTime
[read-only] Returns an instance of RealTime class.
public static function get realtime():RealTime
snapshots | property |
snapshots:Snapshots
[read-only] Returns an instance of Snapshots class.
public static function get snapshots():Snapshots
dismiss | () | method |
public static function dismiss():void
init | () | method |
public static function init():Games
Call this method as the first method before starting to use the GameServices ANE but call it after you are sure that the user is signed in your app using the GoogleSignin ANE.
ReturnsGames — |
showSettingsWindow | () | method |
public static function showSettingsWindow():void
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.gameServices
FAILURE | Constant |
public static const FAILURE:int = -1
PAGE_DIRECTION_NEXT | Constant |
public static const PAGE_DIRECTION_NEXT:int = 0
Direction advancing toward the end of the data set.
PAGE_DIRECTION_NONE | Constant |
public static const PAGE_DIRECTION_NONE:int = -1
Constant indicating that no pagination is occurring.
PAGE_DIRECTION_PREV | Constant |
public static const PAGE_DIRECTION_PREV:int = 1
Direction advancing toward the beginning of the data set.
SORT_ORDER_MOST_RECENT_FIRST | Constant |
public static const SORT_ORDER_MOST_RECENT_FIRST:int = 0
Sort multiplayer activities by their last-modified timestamp with most recent first.
SORT_ORDER_SOCIAL_AGGREGATION | Constant |
public static const SORT_ORDER_SOCIAL_AGGREGATION:int = 1
Sort multiplayer activities such that activities from players in the user's circles are returned first.
SUCCESS | Constant |
public static const SUCCESS:int = 0
VERSION | Constant |
public static const VERSION:String = 5.0.0