Packagecom.myflashlab.air.extensions.googleGames
Classpublic class Leaderboard
InheritanceLeaderboard Inheritance Object

Data interface for leaderboard metadata.



Public Properties
 PropertyDefined By
  displayName : String
[read-only] Retrieves the display name of this leaderboard.
Leaderboard
  leaderboardId : String
[read-only] Retrieves the ID of this leaderboard.
Leaderboard
  scoreOrder : int
[read-only] Retrieves the sort order of scores for this leaderboard.
Leaderboard
Public Methods
 MethodDefined By
  
loadIconImage($forceReload:Boolean, $callback:Function):void
Leaderboard
Public Constants
 ConstantDefined By
  SCORE_ORDER_LARGER_IS_BETTER : int = 1
[static] Score order constant for leaderboards where scores are sorted in descending order.
Leaderboard
  SCORE_ORDER_SMALLER_IS_BETTER : int = 0
[static] Score order constant for leaderboards where scores are sorted in ascending order.
Leaderboard
Property Detail
displayNameproperty
displayName:String  [read-only]

Retrieves the display name of this leaderboard.


Implementation
    public function get displayName():String
leaderboardIdproperty 
leaderboardId:String  [read-only]

Retrieves the ID of this leaderboard.


Implementation
    public function get leaderboardId():String
scoreOrderproperty 
scoreOrder:int  [read-only]

Retrieves the sort order of scores for this leaderboard. Possible values are SCORE_ORDER_LARGER_IS_BETTER or SCORE_ORDER_SMALLER_IS_BETTER.


Implementation
    public function get scoreOrder():int
Method Detail
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.

Constant Detail
SCORE_ORDER_LARGER_IS_BETTERConstant
public static const SCORE_ORDER_LARGER_IS_BETTER:int = 1

Score order constant for leaderboards where scores are sorted in descending order.

SCORE_ORDER_SMALLER_IS_BETTERConstant 
public static const SCORE_ORDER_SMALLER_IS_BETTER:int = 0

Score order constant for leaderboards where scores are sorted in ascending order.