| Package | com.myflashlab.air.extensions.googleGames |
| Class | public class Notifications |
| Inheritance | Notifications flash.events.EventDispatcher |
| Method | Defined 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 | ||
| Constant | Defined 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 | ||
| clear | () | method |
public function clear($type:int):voidclears the notifications of the specified type for the current game and signed-in player.
Parameters
$type:int |
| clearAll | () | method |
public function clearAll():voidclears all notifications for the current game and signed-in player.
| NOTIFICATION_TYPE_INVITATION | Constant |
public static const NOTIFICATION_TYPE_INVITATION:int = 1Notification type for invites to multiplayer games.
| NOTIFICATION_TYPE_LEVEL_UP | Constant |
public static const NOTIFICATION_TYPE_LEVEL_UP:int = 16Notification type for level-ups.
| NOTIFICATION_TYPE_MATCH_UPDATE | Constant |
public static const NOTIFICATION_TYPE_MATCH_UPDATE:int = 2Notification type for updates to match information.
| NOTIFICATION_TYPES_ALL | Constant |
public static const NOTIFICATION_TYPES_ALL:int = 19Notification types for any notification.
| NOTIFICATION_TYPES_MULTIPLAYER | Constant |
public static const NOTIFICATION_TYPES_MULTIPLAYER:int = 3Notification types for multiplayer notifications.