Packagecom.adobe.ane.gameCenter
Classpublic class GameCenterController
InheritanceGameCenterController Inheritance flash.events.EventDispatcher

Primarily responsible for Game Center integration in an application.



Public Properties
 PropertyDefined By
  authenticated : Boolean
[read-only] Retrieves the current authentication status.
GameCenterController
  isSupported : Boolean
[static] [read-only] Determines if the Game Center API is supported on a platform
GameCenterController
  localPlayer : GameCenterPlayer
[read-only] Retrieves the GameCenterPlayer object for the local player.
GameCenterController
Public Methods
 MethodDefined By
  
GameCenterController(target:IEventDispatcher = null)
Creates a new GameCenterController object.
GameCenterController
  
Accepts an invitation sent by other players via MATCH_INVITE_RECEIVED event.
GameCenterController
  
Starts the authentication procedure on a device.
GameCenterController
  
disableMicOnMatchVoiceChannel(channelName:String):void
Disables microphone on a channel specified by its name.
GameCenterController
  
enableMicOnMatchVoiceChannel(channelName:String):void
Enables microphone on a channel specified by its name.
GameCenterController
  
endMatch():void
Ends the current match.
GameCenterController
  
Requests a list of GameCenterAchievement objects for a user.
GameCenterController
  
Requests the list of friends for the local player.
GameCenterController
  
Requests the available categories of leaderboard for this app.
GameCenterController
  
Retrieves the list of players connected to the current match.
GameCenterController
  
requestScores(numberOfScores:int = 0, category:String = null, playerScope:String, timeScope:String, gameCenterPlayers:Array = null):void
Requests scores from the Game Center.
GameCenterController
  
Resets all achievements of a user.
GameCenterController
  
sendMatchData(data:ByteArray, players:Array = null):void
Sends given data to all or some players of the match.
GameCenterController
  
Displays the iOS UI for displaying user achievements.
GameCenterController
  
Shows the iOS UI for composing a friend request.
GameCenterController
  
showLeaderboardView(category:String = null):void
Displays the iOS UI for the standard leaderboard.
GameCenterController
  
showMatchmakerView(playerList:Array = null, minPlayers:int = 2, maxPlayers:int = 4):void
Display the iOS UI for creating a new match.
GameCenterController
  
startMatch(playerList:Array = null, minPlayers:int = 2, maxPlayers:int = 4):void
Starts a match without displaying any UI.
GameCenterController
  
startMatchVoiceChannel(channelName:String):void
Joins a voice channel specified by its name.
GameCenterController
  
stopMatchVoiceChannel(channelName:String):void
Stops receiving audio from a voice channel specified by its name.
GameCenterController
  
submitAchievement(achievementIdentifier:String, percentComplete:Number):void
Submits an achievement and its percentage completion to the Game Center.
GameCenterController
  
submitScore(score:int, category:String = null, context:int = 0):void
Submits the score and optionally the context to a specified or default leaderboard.
GameCenterController
Events
 Event Summary Defined By
  Dispatched on unsuccessful completion of requestAchievements method.GameCenterController
  Dispatched on successful completion of requestAchievements method.GameCenterController
  Dispatched when user dismisses the achievements view.GameCenterController
  Dispatched on unsuccessful completion of requestFriendList method.GameCenterController
  Dispatched on successful completion of requestFriendList method.GameCenterController
  Dispatched when user dismisses the friend request view.GameCenterController
  Dispatched on unsuccessful completion of requestLeaderboardCategories method.GameCenterController
  Dispatched on successful completion of requestLeaderboardCategories method.GameCenterController
  Dispatched when user dismisses the leaderboard view.GameCenterController
  Dispatched when user dismisses the matchmaker view.GameCenterController
  Dispatched when the user receives some data in a match.GameCenterController
  Dispatched whenever a match fails.GameCenterController
  Dispatched when a user receives an invite from another player.GameCenterController
  When a player connects to a match, all previously connected players receive this event.GameCenterController
  When a player is disconnected from a match, all connected players receive this event.GameCenterController
  Dispatched on unsuccessful completion of requestMatchPlayers method.GameCenterController
  Dispatched on successful completion of requestMatchPlayers method.GameCenterController
  Dispatched when number of players equal or exceed the minPlayers specified.GameCenterController
  Dispatched when errors are encountered in setting up voice channels or enabling mic on a channel.GameCenterController
  Dispatched when the user logs in to Game Center successfully after authenticate mehtod is called.GameCenterController
  Dispatched when the value of authenticated property of the gameCenterController changes.GameCenterController
  Dispatched when the user does not log in to Game Center after authenticate mehtod is called.GameCenterController
  Dispatched on unsuccessful completion of resetAchievements method.GameCenterController
  Dispatched on successful completion of resetAchievements method.GameCenterController
  Dispatched on unsuccessful completion of requestScores method.GameCenterController
  Dispatched on successful completion of requestScores method.GameCenterController
  Dispatched on unsuccessful completion of sendMatchData method.GameCenterController
  Dispatched on successful completion of sendMatchData method.GameCenterController
  Dispatched on unsuccessful completion of submitAchievement method.GameCenterController
  Dispatched on successful completion of submitAchievement method.GameCenterController
  Dispatched on unsuccessful completion of submitScore method.GameCenterController
  Dispatched on successful completion of submitScore method.GameCenterController
Property Detail
authenticatedproperty
authenticated:Boolean  [read-only]

Retrieves the current authentication status.


Implementation
    public function get authenticated():Boolean
isSupportedproperty 
isSupported:Boolean  [read-only]

Determines if the Game Center API is supported on a platform


Implementation
    public static function get isSupported():Boolean
localPlayerproperty 
localPlayer:GameCenterPlayer  [read-only]

Retrieves the GameCenterPlayer object for the local player.


Implementation
    public function get localPlayer():GameCenterPlayer
Constructor Detail
GameCenterController()Constructor
public function GameCenterController(target:IEventDispatcher = null)

Creates a new GameCenterController object.

Parameters
target:IEventDispatcher (default = null)
Method Detail
acceptMatch()method
public function acceptMatch(invite:GameCenterMatchInvite):void

Accepts an invitation sent by other players via MATCH_INVITE_RECEIVED event.

Parameters

invite:GameCenterMatchInvite — The GameCenterMatchInvite object received in the MATCH_INVITE_RECEIVED event.

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_INVITE_RECEIVED
authenticate()method 
public function authenticate():void

Starts the authentication procedure on a device. If the user is not authenticated, this API displays an authentication pop up. A user must be authenticated before accessing any Game Center API. Any change in the authentication status of the user is notified by an event.

See also

com.adobe.ane.gameCenter.GameCenterAuthenticationEvent.PLAYER_AUTHENTICATED
com.adobe.ane.gameCenter.GameCenterAuthenticationEvent.PLAYER_NOT_AUTHENTICATED
com.adobe.ane.gameCenter.GameCenterAuthenticationEvent.PLAYER_AUTHENTICATION_CHANGED
disableMicOnMatchVoiceChannel()method 
public function disableMicOnMatchVoiceChannel(channelName:String):void

Disables microphone on a channel specified by its name. Throws NO_EXISTING_MATCH if no match exists.

Parameters

channelName:String — Specifies the channel identifier

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_VOICE_FAILED
enableMicOnMatchVoiceChannel()method 
public function enableMicOnMatchVoiceChannel(channelName:String):void

Enables microphone on a channel specified by its name. Throws NO_EXISTING_MATCH if no match exists.

Parameters

channelName:String — Specifies the channel identifier

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_VOICE_FAILED
endMatch()method 
public function endMatch():void

Ends the current match. Throws NO_EXISTING_MATCH if no match exists.

requestAchievements()method 
public function requestAchievements():void

Requests a list of GameCenterAchievement objects for a user.

See also

com.adobe.ane.gameCenter.GameCenterAchievementEvent.ACHIEVEMENTS_LOADED
com.adobe.ane.gameCenter.GameCenterAchievementEvent.ACHIEVEMENTS_FAILED
requestFriendList()method 
public function requestFriendList():void

Requests the list of friends for the local player.

See also

com.adobe.ane.gameCenter.GameCenterFriendEvent.FRIEND_LIST_LOADED
com.adobe.ane.gameCenter.GameCenterFriendEvent.FRIEND_LIST_FAILED
requestLeaderboardCategories()method 
public function requestLeaderboardCategories():void

Requests the available categories of leaderboard for this app.

See also

com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.LEADERBOARD_CATEGORIES_LOADED
com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.LEADERBOARD_CATEGORIES_FAILED
requestMatchPlayers()method 
public function requestMatchPlayers():void

Retrieves the list of players connected to the current match. Throws NO_EXISTING_MATCH if no match exists.

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYERS_LOADED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYERS_FAILED
requestScores()method 
public function requestScores(numberOfScores:int = 0, category:String = null, playerScope:String, timeScope:String, gameCenterPlayers:Array = null):void

Requests scores from the Game Center.

Parameters

numberOfScores:int (default = 0) — The maximum number of scores to be requested. When 0, a default number of scores are returned.
 
category:String (default = null) — The category of the leaderboard from which the scores should be requested
 
playerScope:String (default = NaN) — Specifies whether all players or just friends of the player are considered
 
timeScope:String (default = NaN) — Specifies whether scores are to be requested for today, this week or all time
 
gameCenterPlayers:Array (default = null) — An array of GameCenterPlayer objects, whose scores are to be requested

See also

com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SCORES_LOADED
com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SCORES_FAILED
resetAchievements()method 
public function resetAchievements():void

Resets all achievements of a user.

See also

com.adobe.ane.gameCenter.GameCenterAchievementEvent.RESET_ACHIEVEMENTS_SUCCEEDED
com.adobe.ane.gameCenter.GameCenterAchievementEvent.RESET_ACHIEVEMENTS_FAILED
sendMatchData()method 
public function sendMatchData(data:ByteArray, players:Array = null):void

Sends given data to all or some players of the match. Throws NO_EXISTING_MATCH if no match exists.

Parameters

data:ByteArray — The data to be sent.
 
players:Array (default = null) — An array of GameCenterPlayer objects to which the data should be sent. If null, the data is sent to all connected players.

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.SEND_MATCH_DATA_SUCCEEDED
com.adobe.ane.gameCenter.GameCenterMatchEvent.SEND_MATCH_DATA_FAILED
showAchievementsView()method 
public function showAchievementsView():void

Displays the iOS UI for displaying user achievements.

See also

com.adobe.ane.gameCenter.GameCenterAchievementEvent.ACHIEVEMENTS_VIEW_FINISHED
showFriendRequestView()method 
public function showFriendRequestView():void

Shows the iOS UI for composing a friend request.

See also

com.adobe.ane.gameCenter.GameCenterFriendEvent.FRIEND_REQUEST_VIEW_FINISHED
showLeaderboardView()method 
public function showLeaderboardView(category:String = null):void

Displays the iOS UI for the standard leaderboard.

Parameters

category:String (default = null) — Specifies the category of the leaderboard that'll be shown. If null, default leaderboard is shown.

See also

com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.LEADERBOARD_VIEW_FINISHED
showMatchmakerView()method 
public function showMatchmakerView(playerList:Array = null, minPlayers:int = 2, maxPlayers:int = 4):void

Display the iOS UI for creating a new match.

Parameters

playerList:Array (default = null) — Specifies the list of players who will play the match.
 
minPlayers:int (default = 2) — Specifies the minimum number of players required to start the match. This value should be at least 2.
 
maxPlayers:int (default = 4) — Specifies the maximum number of players required to start the match. This value cannot exceed 4.

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_CANCELLED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_FAILED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_STARTED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_INVITE_RECEIVED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYER_CONNECTED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYER_DISCONNECTED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_DATA_RECEIVED
startMatch()method 
public function startMatch(playerList:Array = null, minPlayers:int = 2, maxPlayers:int = 4):void

Starts a match without displaying any UI.

Parameters

playerList:Array (default = null) — Specifies the list of players who will play the match.
 
minPlayers:int (default = 2) — Specifies the minimum number of players required to start the match. This value should be at least 2.
 
maxPlayers:int (default = 4) — Specifies the maximum number of players required to start the match. This value cannot exceed 4.

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_FAILED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_STARTED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_INVITE_RECEIVED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYER_CONNECTED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYER_DISCONNECTED
com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_DATA_RECEIVED
startMatchVoiceChannel()method 
public function startMatchVoiceChannel(channelName:String):void

Joins a voice channel specified by its name. Throws NO_EXISTING_MATCH if no match exists.

Parameters

channelName:String — Specifies the channel identifier

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_VOICE_FAILED
stopMatchVoiceChannel()method 
public function stopMatchVoiceChannel(channelName:String):void

Stops receiving audio from a voice channel specified by its name. Throws NO_EXISTING_MATCH if no match exists.

Parameters

channelName:String — Specifies the channel identifier

See also

com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_VOICE_FAILED
submitAchievement()method 
public function submitAchievement(achievementIdentifier:String, percentComplete:Number):void

Submits an achievement and its percentage completion to the Game Center.

Parameters

achievementIdentifier:String — GameCenterAchievement object of the achievement
 
percentComplete:Number — A number from 1 to 100 indicating the percentage completion of the achievement

See also

com.adobe.ane.gameCenter.GameCenterAchievementEvent.SUBMIT_ACHIEVEMENT_SUCCEEDED
com.adobe.ane.gameCenter.GameCenterAchievementEvent.SUBMIT_ACHIEVEMENT_FAILED
submitScore()method 
public function submitScore(score:int, category:String = null, context:int = 0):void

Submits the score and optionally the context to a specified or default leaderboard.

Parameters

score:int — The score submitted to the leaderboard
 
category:String (default = null) — If not null, this specifies the leaderboard category, to which the score should be submitted. If null, default leaderboard is chosen for submission.
 
context:int (default = 0) — An optional number that the user can specify to store any metadata along with the score.

See also

com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SUBMIT_SCORE_SUCCEEDED
com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SUBMIT_SCORE_FAILED
Event Detail
achievementsFailed Event
Event Object Type: com.adobe.ane.gameCenter.GameCenterAchievementEvent
GameCenterAchievementEvent.type property = com.adobe.ane.gameCenter.GameCenterAchievementEvent.ACHIEVEMENTS_FAILED

Dispatched on unsuccessful completion of requestAchievements method. The property 'achievements' of the event is set to null.

achievementsLoaded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAchievementEvent
GameCenterAchievementEvent.type property = com.adobe.ane.gameCenter.GameCenterAchievementEvent.ACHIEVEMENTS_LOADED

Dispatched on successful completion of requestAchievements method. The property achievements of the event contains an array to GameCenterAchievement objects.

achievementsViewFinished Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAchievementEvent
GameCenterAchievementEvent.type property = com.adobe.ane.gameCenter.GameCenterAchievementEvent.ACHIEVEMENTS_VIEW_FINISHED

Dispatched when user dismisses the achievements view.

Defines the value of the type property of a GameCenterAchievementEvent object.
friendListFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterFriendEvent
GameCenterFriendEvent.type property = com.adobe.ane.gameCenter.GameCenterFriendEvent.FRIEND_LIST_FAILED

Dispatched on unsuccessful completion of requestFriendList method. The property friendList contains null.

friendListLoaded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterFriendEvent
GameCenterFriendEvent.type property = com.adobe.ane.gameCenter.GameCenterFriendEvent.FRIEND_LIST_LOADED

Dispatched on successful completion of requestFriendList method. The property friendList contains a list of GameCenterPlayer objects.

friendRequestViewFinished Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterFriendEvent
GameCenterFriendEvent.type property = com.adobe.ane.gameCenter.GameCenterFriendEvent.FRIEND_REQUEST_VIEW_FINISHED

Dispatched when user dismisses the friend request view.

Defines the value of the type property of a GameCenterFriendEvent object.
leaderboardCategoriesFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterLeaderboardEvent
GameCenterLeaderboardEvent.type property = com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.LEADERBOARD_CATEGORIES_FAILED

Dispatched on unsuccessful completion of requestLeaderboardCategories method. The leaderboardCategories property of this event is set to null.

leaderboardCategoriesLoaded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterLeaderboardEvent
GameCenterLeaderboardEvent.type property = com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.LEADERBOARD_CATEGORIES_LOADED

Dispatched on successful completion of requestLeaderboardCategories method. The requested categories can then be accessed using the leaderboardCategories property of this event.

leaderboardViewFinished Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterLeaderboardEvent
GameCenterLeaderboardEvent.type property = com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.LEADERBOARD_VIEW_FINISHED

Dispatched when user dismisses the leaderboard view.

Defines the value of the type property of a GameCenterLeaderboardEvent object.
matchCancelled Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_CANCELLED

Dispatched when user dismisses the matchmaker view.

Defines the value of the type property of a GameCenterMatchEvent object.
matchDataReceived Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_DATA_RECEIVED

Dispatched when the user receives some data in a match. The data can then be accessed using the matchData property of this event.

matchFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_FAILED

Dispatched whenever a match fails.

matchInviteReceived Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_INVITE_RECEIVED

Dispatched when a user receives an invite from another player. The invite can then be accessed using the matchInvite property of this event. The match can be accepted by passing the invite to the acceptMatch method.

matchPlayerConnected Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYER_CONNECTED

When a player connects to a match, all previously connected players receive this event. The GameCenterPlayer object of the connected player can then be accessed using the matchPlayers property of this event.

matchPlayerDisonnected Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYER_DISCONNECTED

When a player is disconnected from a match, all connected players receive this event. The GameCenterPlayer object of the disconnected player can then be accessed using the matchPlayers property of this event.

matchPlayersFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYERS_FAILED

Dispatched on unsuccessful completion of requestMatchPlayers method. The matchPlayers property of this event is set to null.

matchPlayersLoaded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_PLAYERS_LOADED

Dispatched on successful completion of requestMatchPlayers method. The matchPlayers property of this event contains an array of GameCenterPlayer objects.

matchStarted Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_STARTED

Dispatched when number of players equal or exceed the minPlayers specified.

matchVoiceFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.MATCH_VOICE_FAILED

Dispatched when errors are encountered in setting up voice channels or enabling mic on a channel.

playerAuthenticated Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAuthenticationEvent
GameCenterAuthenticationEvent.type property = com.adobe.ane.gameCenter.GameCenterAuthenticationEvent.PLAYER_AUTHENTICATED

Dispatched when the user logs in to Game Center successfully after authenticate mehtod is called.

Defines the value of the type property of a GameCenterAuthenticationEvent object.
playerAuthenticationChanged Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAuthenticationEvent
GameCenterAuthenticationEvent.type property = com.adobe.ane.gameCenter.GameCenterAuthenticationEvent.PLAYER_AUTHENTICATION_CHANGED

Dispatched when the value of authenticated property of the gameCenterController changes.

playerNotAuthenticated Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAuthenticationEvent
GameCenterAuthenticationEvent.type property = com.adobe.ane.gameCenter.GameCenterAuthenticationEvent.PLAYER_NOT_AUTHENTICATED

Dispatched when the user does not log in to Game Center after authenticate mehtod is called.

resetAchievementsFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAchievementEvent
GameCenterAchievementEvent.type property = com.adobe.ane.gameCenter.GameCenterAchievementEvent.RESET_ACHIEVEMENTS_FAILED

Dispatched on unsuccessful completion of resetAchievements method.

resetAchievementsSucceeded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAchievementEvent
GameCenterAchievementEvent.type property = com.adobe.ane.gameCenter.GameCenterAchievementEvent.RESET_ACHIEVEMENTS_SUCCEEDED

Dispatched on successful completion of resetAchievements method.

scoresFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterLeaderboardEvent
GameCenterLeaderboardEvent.type property = com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SCORES_FAILED

Dispatched on unsuccessful completion of requestScores method. The scores property of this event is set to null.

scoresLoaded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterLeaderboardEvent
GameCenterLeaderboardEvent.type property = com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SCORES_LOADED

Dispatched on successful completion of requestScores method. The requested scores can then be accessed using the scores property of this event.

sendMatchDataFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.SEND_MATCH_DATA_FAILED

Dispatched on unsuccessful completion of sendMatchData method.

sendMatchDataSucceeded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterMatchEvent
GameCenterMatchEvent.type property = com.adobe.ane.gameCenter.GameCenterMatchEvent.SEND_MATCH_DATA_SUCCEEDED

Dispatched on successful completion of sendMatchData method.

submitAchievementFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAchievementEvent
GameCenterAchievementEvent.type property = com.adobe.ane.gameCenter.GameCenterAchievementEvent.SUBMIT_ACHIEVEMENT_FAILED

Dispatched on unsuccessful completion of submitAchievement method.

submitAchievementSucceeded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterAchievementEvent
GameCenterAchievementEvent.type property = com.adobe.ane.gameCenter.GameCenterAchievementEvent.SUBMIT_ACHIEVEMENT_SUCCEEDED

Dispatched on successful completion of submitAchievement method.

submitScoreFailed Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterLeaderboardEvent
GameCenterLeaderboardEvent.type property = com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SUBMIT_SCORE_FAILED

Dispatched on unsuccessful completion of submitScore method.

submitScoreSucceeded Event  
Event Object Type: com.adobe.ane.gameCenter.GameCenterLeaderboardEvent
GameCenterLeaderboardEvent.type property = com.adobe.ane.gameCenter.GameCenterLeaderboardEvent.SUBMIT_SCORE_SUCCEEDED

Dispatched on successful completion of submitScore method.