SDLeaderboardEvent is an event object dispatched by using iOS Game Center leaderboard features.
leaderboards:Vector.<SDLeaderboard>
[read-only]
The leaderboards vector contains SDLeaderboard objects.
The vector contains valid data only, when the type of the event is LEADERBOARD_LIST_COMPLETE.
Implementation public function get leaderboards():Vector.<SDLeaderboard>
scores:Vector.<SDScore>
[read-only]
The scores vector contains of SDScore objects.
The vector contains valid data only, when the type of the event is LEADERBOARD_SCORE_REQUEST_COMPLETE.
Implementation public function get scores():Vector.<SDScore>
public function SDLeaderboardEvent(type:String, leaderboards:Vector.<SDLeaderboard> = null, scores:Vector.<SDScore> = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor of SDLeaderboardEvent class.
Parameters | type:String — is the type of the event.
|
|
| leaderboards:Vector.<SDLeaderboard> (default = null ) — is a vector of SDLeaderboard objects asked from Snapdragon API.
|
|
| scores:Vector.<SDScore> (default = null ) — is a vector of SDScore objects asked from Snapdragon API.
|
|
| bubbles:Boolean (default = false )
|
|
| cancelable:Boolean (default = false )
|
public static const LEADERBOARD_LIST_COMPLETE:String = LEADERBOARD_LIST_COMPLETE
public static const LEADERBOARD_LIST_ERROR:String = LEADERBOARD_LIST_ERROR
public static const LEADERBOARD_SCORE_REPORT_COMPLETE:String = LEADERBOARD_SCORE_REPORT_COMPLETE
public static const LEADERBOARD_SCORE_REPORT_ERROR:String = LEADERBOARD_SCORE_REPORT_ERROR
public static const LEADERBOARD_SCORE_REQUEST_COMPLETE:String = LEADERBOARD_SCORE_REQUEST_COMPLETE
public static const LEADERBOARD_SCORE_REQUEST_ERROR:String = LEADERBOARD_SCORE_REQUEST_ERROR
public static const LEADERBOARD_VIEW_CLOSED:String = LEADERBOARD_VIEW_CLOSED
Fri Jun 27 2014, 09:13 PM +02:00