Packagenet.flashplusplus.Snapdragon.GameCenter
Classpublic class SDLeaderboard
InheritanceSDLeaderboard Inheritance Object

SDLeaderboard is a descriptor class. It holds informations about one leaderboard of the game in iOS Game Center.



Public Properties
 PropertyDefined By
  category : String
[read-only] A String shows the leaderboard ID for the leaderboard.
SDLeaderboard
  title : String
[read-only] A String shows the localized title you defined in iTunes Connect.
SDLeaderboard
Public Methods
 MethodDefined By
  
SDLeaderboard(category:String, title:String)
Constructor of SDLeaderboard class.
SDLeaderboard
Public Constants
 ConstantDefined By
  PLAYER_SCOPE_FRIENDS : String = friends
[static]
SDLeaderboard
  PLAYER_SCOPE_GLOBAL : String = global
[static]
SDLeaderboard
  TIME_SCOPE_ALL_TIME : String = allTime
[static]
SDLeaderboard
  TIME_SCOPE_TODAY : String = today
[static]
SDLeaderboard
  TIME_SCOPE_WEEK : String = week
[static]
SDLeaderboard
Property Detail
categoryproperty
category:String  [read-only]

A String shows the leaderboard ID for the leaderboard.


Implementation
    public function get category():String
titleproperty 
title:String  [read-only]

A String shows the localized title you defined in iTunes Connect.


Implementation
    public function get title():String
Constructor Detail
SDLeaderboard()Constructor
public function SDLeaderboard(category:String, title:String)

Constructor of SDLeaderboard class.

Parameters
category:String — is the leaderboard ID for the leaderboard.
 
title:String — is the localized title you defined in iTunes Connect.
Constant Detail
PLAYER_SCOPE_FRIENDSConstant
public static const PLAYER_SCOPE_FRIENDS:String = friends

PLAYER_SCOPE_GLOBALConstant 
public static const PLAYER_SCOPE_GLOBAL:String = global

TIME_SCOPE_ALL_TIMEConstant 
public static const TIME_SCOPE_ALL_TIME:String = allTime

TIME_SCOPE_TODAYConstant 
public static const TIME_SCOPE_TODAY:String = today

TIME_SCOPE_WEEKConstant 
public static const TIME_SCOPE_WEEK:String = week