Packagecom.myflashlab.air.extensions.googleGames
Classpublic class GamesEvents
InheritanceGamesEvents Inheritance flash.events.Event

List of all events that are dispatched with different methods and stats of GameServices. Each event may have some properties with it. Read the asdoc to know which properties you can have access to when each event occurs.



Public Properties
 PropertyDefined By
  achievementId : String
[read-only]
GamesEvents
  achievements : Array
[read-only]
GamesEvents
  conflictId : String
[read-only]
GamesEvents
  conflictingSnapshot : Snapshot
[read-only]
GamesEvents
  invitation : Invitation
[read-only]
GamesEvents
  invitationId : String
[read-only]
GamesEvents
  invitations : Array
[read-only]
GamesEvents
  isAchievementUnlocked : Boolean
[read-only]
GamesEvents
  leaderboardId : String
[read-only]
GamesEvents
  leaderboards : Array
[read-only]
GamesEvents
  msg : String
[read-only]
GamesEvents
  participantId : String
[read-only]
GamesEvents
  participantIds : Array
[read-only]
GamesEvents
  player : Player
[read-only]
GamesEvents
  playerId : String
[read-only]
GamesEvents
  realTimeMessage : RealTimeMessage
[read-only]
GamesEvents
  recipientParticipantId : String
[read-only]
GamesEvents
  room : Room
[read-only]
GamesEvents
  roomEvent : String
[read-only]
GamesEvents
  roomId : String
[read-only]
GamesEvents
  score : Score
[read-only]
GamesEvents
  scoreAllTime : ScoreResult
[read-only]
GamesEvents
  scores : Array
[read-only]
GamesEvents
  scoreThisWeek : ScoreResult
[read-only]
GamesEvents
  scoreToday : ScoreResult
[read-only]
GamesEvents
  serverSnapshot : Snapshot
[read-only]
GamesEvents
  snapshotMetadata : SnapshotMetadata
[read-only]
GamesEvents
  snapshotName : String
[read-only]
GamesEvents
  snapshotNames : Array
[read-only]
GamesEvents
  status : int
[read-only]
GamesEvents
  tokenId : int
[read-only]
GamesEvents
Public Constants
 ConstantDefined By
  ACHIEVEMENT_LOAD_RESULT : String = onAchievementLoadResult
[static] Dispatches on relation to Games.achievements.load.
GamesEvents
  ACHIEVEMENTS_WINDOW_DISMISSED : String = onAchievementsWindowDismissed
[static] Dispatches on relation to Games.achievements.showNativeWindow().
GamesEvents
  ACHIEVEMENTS_WINDOW_FAILURE : String = onAchievementsWindowFailure
[static] Dispatches on relation to Games.achievements.showNativeWindow().
GamesEvents
  ACHIEVEMENT_UPDATE_RESULT : String = onAchievementUpdateResult
[static] Dispatched on relation to Games.achievements.increment, Games.achievements.reveal, Games.achievements.setSteps or Games.achievements.unlock.
GamesEvents
  ACTIVITY_RESULT_CODES : String = onActivityResultCodes
[static]
GamesEvents
  CONNECT_FAILURE : String = onConnectFailure
[static] Dispatches on relation to Games.init();.
GamesEvents
  CONNECT_SUCCESS : String = onConnectSuccess
[static] Dispatches on relation to Games.init();.
GamesEvents
  INVITATION_INBOX_WINDOW_FAILURE : String = onInvitationInboxWindowFailure
[static] Dispatches on relation to Games.invitations.showNativeWindow.
GamesEvents
  INVITATION_LOAD_RESULT : String = onInvitationLoadResult
[static] Dispatches on relation to Games.invitations.load.
GamesEvents
  INVITATION_RECEIVED : String = onInvitationReceived
[static] Dispatches when an invitation is received.
GamesEvents
  INVITATION_REMOVED : String = onInvitationRemoved
[static] Dispatches when an already sent invitation is removed.
GamesEvents
  INVITATION_WINDOW_DISMISSED : String = onInvitationWindowDismissed
[static] Dispatches on relation to Games.invitations.showNativeWindow.
GamesEvents
  INVITE_PLAYERS_WINDOW_FAILURE : String = onInvitePlayersWindowFailure
[static] Dispatches on relation to Games.realtime.showNativeWindowInvitePlayers event.msg
GamesEvents
  INVITING_PLAYERS_RESULT : String = onInvitingPlayersResult
[static] Dispatches when players invite result is returned.
GamesEvents
  LEADERBOARDS_LOAD_META_DATA_RESULT : String = onLeaderboardsLoadMetaDataResult
[static] Dispatches on relation to Games.leaderboards.loadMetadata method.
GamesEvents
  LEADERBOARDS_LOAD_PLAYER_SCORE_RESULT : String = onLeaderboardsLoadPlayerScoreResult
[static] Dispatches on relation to Games.leaderboards.loadCurrentPlayerScore method.
GamesEvents
  LEADERBOARDS_LOAD_SCORES_RESULT : String = onLeaderboardsLoadScoresResult
[static] Dispatches on relation to Games.leaderboards.loadTopScores, Games.leaderboards.loadMoreScores, Games.leaderboards.loadPlayerCenteredScores or Games.leaderboards.loadTopScores methods.
GamesEvents
  LEADERBOARDS_SUBMIT_SCORE_RESULT : String = onLeaderboardsSubmitScoreResult
[static] Dispatches on relation to Games.leaderboards.submitScore method if it is an immediate one.
GamesEvents
  LEADERBOARDS_WINDOW_DISMISSED : String = onLeaderboardsWindowDismissed
[static] Dispatches on relation to Games.leaderboards.showNativeWindowAll or Games.leaderboards.showNativeWindow methods.
GamesEvents
  LEADERBOARDS_WINDOW_FAILURE : String = onLeaderboardsWindowFailure
[static] Dispatches on relation to Games.leaderboards.showNativeWindowAll or Games.leaderboards.showNativeWindow methods.
GamesEvents
  MESSAGE_RECEIVED : String = onMessageReceived
[static] Dispatches when a realtime message is received.
GamesEvents
  MESSAGE_SENT : String = onMessageSent
[static] Dispatches when a realtime message is sent.
GamesEvents
  NOTIFICATION_CLEAR_RESULT : String = onNotificationClearResult
[static] Dispatches on relation to Games.notifications.clear or Games.notifications.clearAll.
GamesEvents
  REAL_TIME_ROOM_CONNECTED : String = onRealTimeRoomConnected
[static] Dispatches when player is connected to the room.
GamesEvents
  REAL_TIME_ROOM_CREATED : String = onRealTimeRoomCreation
[static] Dispatches when a room is created.
GamesEvents
  REAL_TIME_ROOM_JOINED : String = onRealTimeRoomJoined
[static] Dispatches when player joins the room.
GamesEvents
  REAL_TIME_ROOM_LEFT : String = onRealTimeRoomLeft
[static] Dispatches when player leavs the room.
GamesEvents
  ROOM_STATUS_UPDATED : String = onRoomStatusUpdated
[static] Dispatches when room status is updated.
GamesEvents
  SETTINGS_WINDOW_FAILURE : String = onSettingsWindowFailure
[static] Dispatches on relation to Games.showSettingsWindow.
GamesEvents
  SETTING_WINDOW_DISMISSED : String = onSettingWindowDismissed
[static] Dispatches on relation to Games.showSettingsWindow.
GamesEvents
  SNAPSHOT_CONFLICT_RESOLVING_ENDED : String = onSnapshotConflictResolvingEnded
[static] Dispatches on relation to Games.snapshots.resolveConflict.
GamesEvents
  SNAPSHOT_CONFLICT_RESOLVING_STARTED : String = onSnapshotConflictResolvingStarted
[static] Dispatches on relation to Games.snapshots.resolveConflict.
GamesEvents
  SNAPSHOT_DELETE_ENDED : String = onSnapshotDeleteEnded
[static] Dispatches on relation to Games.snapshots.remove.
GamesEvents
  SNAPSHOT_DELETE_STARTED : String = onSnapshotDeleteStarted
[static] Dispatches on relation to Games.snapshots.remove.
GamesEvents
  SNAPSHOT_GET_LIST : String = onSnapshotGetList
[static] Dispatches on relation to Games.snapshots.getList.
GamesEvents
  SNAPSHOT_LOAD_ENDED : String = onSnapshotLoadEnded
[static] Dispatches on relation to Games.snapshots.load.
GamesEvents
  SNAPSHOT_LOAD_STARTED : String = onSnapshotLoadStarted
[static] Dispatches on relation to Games.snapshots.load.
GamesEvents
  SNAPSHOT_RECEIVED : String = onSnapshotReceived
[static] Dispatches on relation to Games.init().
GamesEvents
  SNAPSHOT_SAVE_CONFLICTED : String = onSnapshotSaveConflicted
[static] Dispatches on relation to Games.snapshots.save or Games.snapshots.resolveConflict.
GamesEvents
  SNAPSHOT_SAVE_ENDED : String = onSnapshotSaveEnded
[static] Dispatches on relation to Games.snapshots.save.
GamesEvents
  SNAPSHOT_SAVE_STARTED : String = onSnapshotSaveStarted
[static] Dispatches on relation to Games.snapshots.save.
GamesEvents
  SNAPSHOT_WINDOW_DISMISSED : String = onSnapshotWindowDismissed
[static] Dispatches on relation to Games.snapshots.showNativeWindow.
GamesEvents
  SNAPSHOT_WINDOW_FAILURE : String = onSnapshotWindowFailure
[static] Dispatches on relation to Games.snapshots.showNativeWindow.
GamesEvents
  SNAPSHOT_WINDOW_NEW : String = onSnapshotWindowNew
[static] Dispatches on relation to Games.snapshots.showNativeWindow.
GamesEvents
  SNAPSHOT_WINDOW_PICK : String = onSnapshotWindowPick
[static] Dispatches on relation to Games.snapshots.showNativeWindow.
GamesEvents
  WAITING_ROOM_RESULT : String = onWaitingRoomResult
[static] Dispatches when the native waiting room is closed with a result.
GamesEvents
  WAITING_ROOM_WINDOW_DISMISSED : String = onWaitingRoomWindowDismissed
[static] Dispatches when the native waiting room is dismissed.
GamesEvents
  WAITING_ROOM_WINDOW_FAILURE : String = onWaitingRoomWindowFailure
[static] Dispatches if the native waiting room fails to load.
GamesEvents
Property Detail
achievementIdproperty
achievementId:String  [read-only]


Implementation
    public function get achievementId():String
achievementsproperty 
achievements:Array  [read-only]


Implementation
    public function get achievements():Array
conflictIdproperty 
conflictId:String  [read-only]


Implementation
    public function get conflictId():String
conflictingSnapshotproperty 
conflictingSnapshot:Snapshot  [read-only]


Implementation
    public function get conflictingSnapshot():Snapshot
invitationproperty 
invitation:Invitation  [read-only]


Implementation
    public function get invitation():Invitation
invitationIdproperty 
invitationId:String  [read-only]


Implementation
    public function get invitationId():String
invitationsproperty 
invitations:Array  [read-only]


Implementation
    public function get invitations():Array
isAchievementUnlockedproperty 
isAchievementUnlocked:Boolean  [read-only]


Implementation
    public function get isAchievementUnlocked():Boolean
leaderboardIdproperty 
leaderboardId:String  [read-only]


Implementation
    public function get leaderboardId():String
leaderboardsproperty 
leaderboards:Array  [read-only]


Implementation
    public function get leaderboards():Array
msgproperty 
msg:String  [read-only]


Implementation
    public function get msg():String
participantIdproperty 
participantId:String  [read-only]


Implementation
    public function get participantId():String
participantIdsproperty 
participantIds:Array  [read-only]


Implementation
    public function get participantIds():Array
playerproperty 
player:Player  [read-only]


Implementation
    public function get player():Player
playerIdproperty 
playerId:String  [read-only]


Implementation
    public function get playerId():String
realTimeMessageproperty 
realTimeMessage:RealTimeMessage  [read-only]


Implementation
    public function get realTimeMessage():RealTimeMessage
recipientParticipantIdproperty 
recipientParticipantId:String  [read-only]


Implementation
    public function get recipientParticipantId():String
roomproperty 
room:Room  [read-only]


Implementation
    public function get room():Room
roomEventproperty 
roomEvent:String  [read-only]


Implementation
    public function get roomEvent():String
roomIdproperty 
roomId:String  [read-only]


Implementation
    public function get roomId():String
scoreproperty 
score:Score  [read-only]


Implementation
    public function get score():Score
scoreAllTimeproperty 
scoreAllTime:ScoreResult  [read-only]


Implementation
    public function get scoreAllTime():ScoreResult
scoresproperty 
scores:Array  [read-only]


Implementation
    public function get scores():Array
scoreThisWeekproperty 
scoreThisWeek:ScoreResult  [read-only]


Implementation
    public function get scoreThisWeek():ScoreResult
scoreTodayproperty 
scoreToday:ScoreResult  [read-only]


Implementation
    public function get scoreToday():ScoreResult
serverSnapshotproperty 
serverSnapshot:Snapshot  [read-only]


Implementation
    public function get serverSnapshot():Snapshot
snapshotMetadataproperty 
snapshotMetadata:SnapshotMetadata  [read-only]


Implementation
    public function get snapshotMetadata():SnapshotMetadata
snapshotNameproperty 
snapshotName:String  [read-only]


Implementation
    public function get snapshotName():String
snapshotNamesproperty 
snapshotNames:Array  [read-only]


Implementation
    public function get snapshotNames():Array
statusproperty 
status:int  [read-only]


Implementation
    public function get status():int
tokenIdproperty 
tokenId:int  [read-only]


Implementation
    public function get tokenId():int
Constant Detail
ACHIEVEMENT_LOAD_RESULTConstant
public static const ACHIEVEMENT_LOAD_RESULT:String = onAchievementLoadResult

Dispatches on relation to Games.achievements.load.

ACHIEVEMENT_UPDATE_RESULTConstant 
public static const ACHIEVEMENT_UPDATE_RESULT:String = onAchievementUpdateResult

Dispatched on relation to Games.achievements.increment, Games.achievements.reveal, Games.achievements.setSteps or Games.achievements.unlock.

ACHIEVEMENTS_WINDOW_DISMISSEDConstant 
public static const ACHIEVEMENTS_WINDOW_DISMISSED:String = onAchievementsWindowDismissed

Dispatches on relation to Games.achievements.showNativeWindow().

ACHIEVEMENTS_WINDOW_FAILUREConstant 
public static const ACHIEVEMENTS_WINDOW_FAILURE:String = onAchievementsWindowFailure

Dispatches on relation to Games.achievements.showNativeWindow().

ACTIVITY_RESULT_CODESConstant 
public static const ACTIVITY_RESULT_CODES:String = onActivityResultCodes

CONNECT_FAILUREConstant 
public static const CONNECT_FAILURE:String = onConnectFailure

Dispatches on relation to Games.init();.

CONNECT_SUCCESSConstant 
public static const CONNECT_SUCCESS:String = onConnectSuccess

Dispatches on relation to Games.init();.

INVITATION_INBOX_WINDOW_FAILUREConstant 
public static const INVITATION_INBOX_WINDOW_FAILURE:String = onInvitationInboxWindowFailure

Dispatches on relation to Games.invitations.showNativeWindow.

INVITATION_LOAD_RESULTConstant 
public static const INVITATION_LOAD_RESULT:String = onInvitationLoadResult

Dispatches on relation to Games.invitations.load.

INVITATION_RECEIVEDConstant 
public static const INVITATION_RECEIVED:String = onInvitationReceived

Dispatches when an invitation is received.

INVITATION_REMOVEDConstant 
public static const INVITATION_REMOVED:String = onInvitationRemoved

Dispatches when an already sent invitation is removed.

INVITATION_WINDOW_DISMISSEDConstant 
public static const INVITATION_WINDOW_DISMISSED:String = onInvitationWindowDismissed

Dispatches on relation to Games.invitations.showNativeWindow.

INVITE_PLAYERS_WINDOW_FAILUREConstant 
public static const INVITE_PLAYERS_WINDOW_FAILURE:String = onInvitePlayersWindowFailure

Dispatches on relation to Games.realtime.showNativeWindowInvitePlayers

INVITING_PLAYERS_RESULTConstant 
public static const INVITING_PLAYERS_RESULT:String = onInvitingPlayersResult

Dispatches when players invite result is returned.

LEADERBOARDS_LOAD_META_DATA_RESULTConstant 
public static const LEADERBOARDS_LOAD_META_DATA_RESULT:String = onLeaderboardsLoadMetaDataResult

Dispatches on relation to Games.leaderboards.loadMetadata method.

LEADERBOARDS_LOAD_PLAYER_SCORE_RESULTConstant 
public static const LEADERBOARDS_LOAD_PLAYER_SCORE_RESULT:String = onLeaderboardsLoadPlayerScoreResult

Dispatches on relation to Games.leaderboards.loadCurrentPlayerScore method.

LEADERBOARDS_LOAD_SCORES_RESULTConstant 
public static const LEADERBOARDS_LOAD_SCORES_RESULT:String = onLeaderboardsLoadScoresResult

Dispatches on relation to Games.leaderboards.loadTopScores, Games.leaderboards.loadMoreScores, Games.leaderboards.loadPlayerCenteredScores or Games.leaderboards.loadTopScores methods.

LEADERBOARDS_SUBMIT_SCORE_RESULTConstant 
public static const LEADERBOARDS_SUBMIT_SCORE_RESULT:String = onLeaderboardsSubmitScoreResult

Dispatches on relation to Games.leaderboards.submitScore method if it is an immediate one.

LEADERBOARDS_WINDOW_DISMISSEDConstant 
public static const LEADERBOARDS_WINDOW_DISMISSED:String = onLeaderboardsWindowDismissed

Dispatches on relation to Games.leaderboards.showNativeWindowAll or Games.leaderboards.showNativeWindow methods.

LEADERBOARDS_WINDOW_FAILUREConstant 
public static const LEADERBOARDS_WINDOW_FAILURE:String = onLeaderboardsWindowFailure

Dispatches on relation to Games.leaderboards.showNativeWindowAll or Games.leaderboards.showNativeWindow methods.

MESSAGE_RECEIVEDConstant 
public static const MESSAGE_RECEIVED:String = onMessageReceived

Dispatches when a realtime message is received.

MESSAGE_SENTConstant 
public static const MESSAGE_SENT:String = onMessageSent

Dispatches when a realtime message is sent.

NOTIFICATION_CLEAR_RESULTConstant 
public static const NOTIFICATION_CLEAR_RESULT:String = onNotificationClearResult

Dispatches on relation to Games.notifications.clear or Games.notifications.clearAll.

REAL_TIME_ROOM_CONNECTEDConstant 
public static const REAL_TIME_ROOM_CONNECTED:String = onRealTimeRoomConnected

Dispatches when player is connected to the room.

REAL_TIME_ROOM_CREATEDConstant 
public static const REAL_TIME_ROOM_CREATED:String = onRealTimeRoomCreation

Dispatches when a room is created.

REAL_TIME_ROOM_JOINEDConstant 
public static const REAL_TIME_ROOM_JOINED:String = onRealTimeRoomJoined

Dispatches when player joins the room.

REAL_TIME_ROOM_LEFTConstant 
public static const REAL_TIME_ROOM_LEFT:String = onRealTimeRoomLeft

Dispatches when player leavs the room.

ROOM_STATUS_UPDATEDConstant 
public static const ROOM_STATUS_UPDATED:String = onRoomStatusUpdated

Dispatches when room status is updated.

SETTING_WINDOW_DISMISSEDConstant 
public static const SETTING_WINDOW_DISMISSED:String = onSettingWindowDismissed

Dispatches on relation to Games.showSettingsWindow.

SETTINGS_WINDOW_FAILUREConstant 
public static const SETTINGS_WINDOW_FAILURE:String = onSettingsWindowFailure

Dispatches on relation to Games.showSettingsWindow.

SNAPSHOT_CONFLICT_RESOLVING_ENDEDConstant 
public static const SNAPSHOT_CONFLICT_RESOLVING_ENDED:String = onSnapshotConflictResolvingEnded

Dispatches on relation to Games.snapshots.resolveConflict.

SNAPSHOT_CONFLICT_RESOLVING_STARTEDConstant 
public static const SNAPSHOT_CONFLICT_RESOLVING_STARTED:String = onSnapshotConflictResolvingStarted

Dispatches on relation to Games.snapshots.resolveConflict.

SNAPSHOT_DELETE_ENDEDConstant 
public static const SNAPSHOT_DELETE_ENDED:String = onSnapshotDeleteEnded

Dispatches on relation to Games.snapshots.remove.

SNAPSHOT_DELETE_STARTEDConstant 
public static const SNAPSHOT_DELETE_STARTED:String = onSnapshotDeleteStarted

Dispatches on relation to Games.snapshots.remove.

SNAPSHOT_GET_LISTConstant 
public static const SNAPSHOT_GET_LIST:String = onSnapshotGetList

Dispatches on relation to Games.snapshots.getList.

SNAPSHOT_LOAD_ENDEDConstant 
public static const SNAPSHOT_LOAD_ENDED:String = onSnapshotLoadEnded

Dispatches on relation to Games.snapshots.load.

SNAPSHOT_LOAD_STARTEDConstant 
public static const SNAPSHOT_LOAD_STARTED:String = onSnapshotLoadStarted

Dispatches on relation to Games.snapshots.load.

SNAPSHOT_RECEIVEDConstant 
public static const SNAPSHOT_RECEIVED:String = onSnapshotReceived

Dispatches on relation to Games.init().

SNAPSHOT_SAVE_CONFLICTEDConstant 
public static const SNAPSHOT_SAVE_CONFLICTED:String = onSnapshotSaveConflicted

Dispatches on relation to Games.snapshots.save or Games.snapshots.resolveConflict.

SNAPSHOT_SAVE_ENDEDConstant 
public static const SNAPSHOT_SAVE_ENDED:String = onSnapshotSaveEnded

Dispatches on relation to Games.snapshots.save.

SNAPSHOT_SAVE_STARTEDConstant 
public static const SNAPSHOT_SAVE_STARTED:String = onSnapshotSaveStarted

Dispatches on relation to Games.snapshots.save.

SNAPSHOT_WINDOW_DISMISSEDConstant 
public static const SNAPSHOT_WINDOW_DISMISSED:String = onSnapshotWindowDismissed

Dispatches on relation to Games.snapshots.showNativeWindow.

SNAPSHOT_WINDOW_FAILUREConstant 
public static const SNAPSHOT_WINDOW_FAILURE:String = onSnapshotWindowFailure

Dispatches on relation to Games.snapshots.showNativeWindow.

SNAPSHOT_WINDOW_NEWConstant 
public static const SNAPSHOT_WINDOW_NEW:String = onSnapshotWindowNew

Dispatches on relation to Games.snapshots.showNativeWindow.

SNAPSHOT_WINDOW_PICKConstant 
public static const SNAPSHOT_WINDOW_PICK:String = onSnapshotWindowPick

Dispatches on relation to Games.snapshots.showNativeWindow.

WAITING_ROOM_RESULTConstant 
public static const WAITING_ROOM_RESULT:String = onWaitingRoomResult

Dispatches when the native waiting room is closed with a result.

WAITING_ROOM_WINDOW_DISMISSEDConstant 
public static const WAITING_ROOM_WINDOW_DISMISSED:String = onWaitingRoomWindowDismissed

Dispatches when the native waiting room is dismissed.

WAITING_ROOM_WINDOW_FAILUREConstant 
public static const WAITING_ROOM_WINDOW_FAILURE:String = onWaitingRoomWindowFailure

Dispatches if the native waiting room fails to load.