Indicates if the app was in forground or not when the notification was fired.
Implementation public function get isAppActive():Boolean
notificationId
property
notificationId:int [read-only]
Indicates the notification id. This is useful when you want to re-configure your notification. All you have
to do is to adjust a new notification with the same notification id. The other approach would be to
unset the old notification and then adjust another one.
Implementation public function get notificationId():int
payload
property
payload:String [read-only]
Indicates the payload String data you set when adjusting the notification
Implementation public function get payload():String
Constructor Detail
NotificationEvents
()
Constructor
public function NotificationEvents($type:String, $notificationId:int = -1, $payload:String = null, $isAppActive:Boolean = false)
Parameters
$type:String
$notificationId:int (default = -1)
$payload:String (default = null)
$isAppActive:Boolean (default = false)
Constant Detail
NOTIFICATION_INVOKED
Constant
public static const NOTIFICATION_INVOKED:String = onLocalNotificationTouched