Packagecom.myflashlab.air.extensions.googleGames
Classpublic class Notifications
InheritanceNotifications Inheritance flash.events.EventDispatcher

A client to interact with Notifications.



Public Methods
 MethodDefined By
  
clear($type:int):void
clears the notifications of the specified type for the current game and signed-in player.
Notifications
  
clearAll():void
clears all notifications for the current game and signed-in player.
Notifications
Public Constants
 ConstantDefined By
  NOTIFICATION_TYPE_INVITATION : int = 1
[static] Notification type for invites to multiplayer games.
Notifications
  NOTIFICATION_TYPE_LEVEL_UP : int = 16
[static] Notification type for level-ups.
Notifications
  NOTIFICATION_TYPE_MATCH_UPDATE : int = 2
[static] Notification type for updates to match information.
Notifications
  NOTIFICATION_TYPES_ALL : int = 19
[static] Notification types for any notification.
Notifications
  NOTIFICATION_TYPES_MULTIPLAYER : int = 3
[static] Notification types for multiplayer notifications.
Notifications
Method Detail
clear()method
public function clear($type:int):void

clears the notifications of the specified type for the current game and signed-in player.

Parameters

$type:int

clearAll()method 
public function clearAll():void

clears all notifications for the current game and signed-in player.

Constant Detail
NOTIFICATION_TYPE_INVITATIONConstant
public static const NOTIFICATION_TYPE_INVITATION:int = 1

Notification type for invites to multiplayer games.

NOTIFICATION_TYPE_LEVEL_UPConstant 
public static const NOTIFICATION_TYPE_LEVEL_UP:int = 16

Notification type for level-ups.

NOTIFICATION_TYPE_MATCH_UPDATEConstant 
public static const NOTIFICATION_TYPE_MATCH_UPDATE:int = 2

Notification type for updates to match information.

NOTIFICATION_TYPES_ALLConstant 
public static const NOTIFICATION_TYPES_ALL:int = 19

Notification types for any notification.

NOTIFICATION_TYPES_MULTIPLAYERConstant 
public static const NOTIFICATION_TYPES_MULTIPLAYER:int = 3

Notification types for multiplayer notifications.