| Package | com.myflashlab.air.extensions.googleGames |
| Class | public class Leaderboard |
| Inheritance | Leaderboard Object |
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
loadIconImage($forceReload:Boolean, $callback:Function):void | Leaderboard | ||
| Constant | Defined 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 | ||
| displayName | property |
displayName:String [read-only] Retrieves the display name of this leaderboard.
public function get displayName():String| leaderboardId | property |
leaderboardId:String [read-only] Retrieves the ID of this leaderboard.
public function get leaderboardId():String| scoreOrder | property |
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.
public function get scoreOrder():int| 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.
|
| SCORE_ORDER_LARGER_IS_BETTER | Constant |
public static const SCORE_ORDER_LARGER_IS_BETTER:int = 1Score order constant for leaderboards where scores are sorted in descending order.
| SCORE_ORDER_SMALLER_IS_BETTER | Constant |
public static const SCORE_ORDER_SMALLER_IS_BETTER:int = 0Score order constant for leaderboards where scores are sorted in ascending order.