Packagecom.myflashlab.air.extensions.googleGames
Classpublic class Game
InheritanceGame Inheritance Object

Data interface for retrieving game information.



Public Properties
 PropertyDefined By
  achievementTotalCount : int
[read-only] Retrieves the number of achievements registered for this game.
Game
  applicationId : String
[read-only] Retrieves the application ID for this game.
Game
  description : String
[read-only] Retrieves the description of this game.
Game
  developerName : String
[read-only] Retrieves the name of the developer of this game.
Game
  displayName : String
[read-only] Retrieves the display name for this game.
Game
  hasGamepadSupport : Boolean
[read-only] Indicates whether or not this game is marked as supporting gamepads.
Game
  isRealTimeMultiplayerEnabled : Boolean
[read-only] Indicates whether or not this game supports real-time multiplayer.
Game
  isTurnBasedMultiplayerEnabled : Boolean
[read-only] Indicates whether or not this game supports turn-based multiplayer.
Game
  leaderboardCount : int
[read-only] Gets the number of leaderboards registered for this game.
Game
  primaryCategory : String
[read-only] Retrieves the primary category of the game - this may be null.
Game
  secondaryCategory : String
[read-only] Retrieves the secondary category of the game - this may be null.
Game
  snapshotsEnabled : Boolean
[read-only] Indicates whether or not this game supports snapshots.
Game
  themeColor : String
[read-only] Retrieves the theme color for this game.
Game
Public Methods
 MethodDefined By
  
loadFeatureImage($forceReload:Boolean, $callback:Function):void
Game
  
loadHiResImage($forceReload:Boolean, $callback:Function):void
Game
  
loadIconImage($forceReload:Boolean, $callback:Function):void
Game
Property Detail
achievementTotalCountproperty
achievementTotalCount:int  [read-only]

Retrieves the number of achievements registered for this game.


Implementation
    public function get achievementTotalCount():int
applicationIdproperty 
applicationId:String  [read-only]

Retrieves the application ID for this game.


Implementation
    public function get applicationId():String
descriptionproperty 
description:String  [read-only]

Retrieves the description of this game.


Implementation
    public function get description():String
developerNameproperty 
developerName:String  [read-only]

Retrieves the name of the developer of this game.


Implementation
    public function get developerName():String
displayNameproperty 
displayName:String  [read-only]

Retrieves the display name for this game.


Implementation
    public function get displayName():String
hasGamepadSupportproperty 
hasGamepadSupport:Boolean  [read-only]

Indicates whether or not this game is marked as supporting gamepads.


Implementation
    public function get hasGamepadSupport():Boolean
isRealTimeMultiplayerEnabledproperty 
isRealTimeMultiplayerEnabled:Boolean  [read-only]

Indicates whether or not this game supports real-time multiplayer.


Implementation
    public function get isRealTimeMultiplayerEnabled():Boolean
isTurnBasedMultiplayerEnabledproperty 
isTurnBasedMultiplayerEnabled:Boolean  [read-only]

Indicates whether or not this game supports turn-based multiplayer.


Implementation
    public function get isTurnBasedMultiplayerEnabled():Boolean
leaderboardCountproperty 
leaderboardCount:int  [read-only]

Gets the number of leaderboards registered for this game.


Implementation
    public function get leaderboardCount():int
primaryCategoryproperty 
primaryCategory:String  [read-only]

Retrieves the primary category of the game - this may be null.


Implementation
    public function get primaryCategory():String
secondaryCategoryproperty 
secondaryCategory:String  [read-only]

Retrieves the secondary category of the game - this may be null.


Implementation
    public function get secondaryCategory():String
snapshotsEnabledproperty 
snapshotsEnabled:Boolean  [read-only]

Indicates whether or not this game supports snapshots.


Implementation
    public function get snapshotsEnabled():Boolean
themeColorproperty 
themeColor:String  [read-only]

Retrieves the theme color for this game. The theme color is used to configure the appearance of Play Games UIs.


Implementation
    public function get themeColor():String
Method Detail
loadFeatureImage()method
public function loadFeatureImage($forceReload:Boolean, $callback:Function):void

Parameters

$forceReload:Boolean
 
$callback:Function — expects one param as File object to the image file.

loadHiResImage()method 
public function loadHiResImage($forceReload:Boolean, $callback:Function):void

Parameters

$forceReload:Boolean
 
$callback:Function — expects one param as File object to the image file.

loadIconImage()method 
public function loadIconImage($forceReload:Boolean, $callback:Function):void

Parameters

$forceReload:Boolean
 
$callback:Function — expects one param as File object to the image file.