Packagecom.adobe.ane.gameCenter
Classpublic class GameCenterScore
InheritanceGameCenterScore Inheritance Object

Lets you handle a Game Center achievement.



Public Properties
 PropertyDefined By
  context : int
[read-only] Retrieves the context that was submitted along with the score.
GameCenterScore
  dateReported : Date
[read-only] Retrieves the date when the score was reported.
GameCenterScore
  formattedValue : String
[read-only] Retrieves the formatted value of the score, as configured on iTunes connect.
GameCenterScore
  player : GameCenterPlayer
[read-only] Retrieves the GameCenterPlayer object of the player who achieved this score.
GameCenterScore
  rank : int
[read-only] Retrieves the rank of the score on the standard leaderboard.
GameCenterScore
  value : int
[read-only] Retrieves the value of the score.
GameCenterScore
Public Methods
 MethodDefined By
  
GameCenterScore(value:int, formattedValue:String, context:int, rank:int, dateReported:Date, player:GameCenterPlayer)
GameCenterScore object.
GameCenterScore
Property Detail
contextproperty
context:int  [read-only]

Retrieves the context that was submitted along with the score.


Implementation
    public function get context():int
dateReportedproperty 
dateReported:Date  [read-only]

Retrieves the date when the score was reported.


Implementation
    public function get dateReported():Date
formattedValueproperty 
formattedValue:String  [read-only]

Retrieves the formatted value of the score, as configured on iTunes connect.


Implementation
    public function get formattedValue():String
playerproperty 
player:GameCenterPlayer  [read-only]

Retrieves the GameCenterPlayer object of the player who achieved this score.


Implementation
    public function get player():GameCenterPlayer
rankproperty 
rank:int  [read-only]

Retrieves the rank of the score on the standard leaderboard.


Implementation
    public function get rank():int
valueproperty 
value:int  [read-only]

Retrieves the value of the score.


Implementation
    public function get value():int
Constructor Detail
GameCenterScore()Constructor
public function GameCenterScore(value:int, formattedValue:String, context:int, rank:int, dateReported:Date, player:GameCenterPlayer)

GameCenterScore object.

Parameters
value:int — Value of the score.
 
formattedValue:String — Formatted value of the score, as configured on iTunes connect.
 
context:int — Context submitted along with the score
 
rank:int — Date when the score was reported
 
dateReported:Date — of the player who achieved this score.
 
player:GameCenterPlayer