Package | fin.desktop.events |
Class | public class NotificationEvent |
Inheritance | NotificationEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
messsage : * [read-only]
Content of the message received from notification. | NotificationEvent | ||
notificationId : int [read-only]
ID of the notification that dispatched the event. | NotificationEvent | ||
reason : String [read-only]
if it's an error event, reason will be populated with the description of the cause of the error. | NotificationEvent |
Method | Defined By | ||
---|---|---|---|
NotificationEvent(type:String, notificationId:int, message:* = null, reason:String = null) | NotificationEvent |
Constant | Defined By | ||
---|---|---|---|
CLICK : String = click [static] | NotificationEvent | ||
CLOSED : String = close [static] | NotificationEvent | ||
DISMISSED : String = dismiss [static] | NotificationEvent | ||
ERROR : String = error [static] | NotificationEvent | ||
MESSAGE : String = message [static] | NotificationEvent | ||
SHOW : String = show [static] | NotificationEvent |
messsage | property |
messsage:*
[read-only] Content of the message received from notification. it can either be String or an Object.
public function get messsage():*
notificationId | property |
notificationId:int
[read-only] ID of the notification that dispatched the event.
public function get notificationId():int
reason | property |
reason:String
[read-only] if it's an error event, reason will be populated with the description of the cause of the error.
public function get reason():String
NotificationEvent | () | Constructor |
public function NotificationEvent(type:String, notificationId:int, message:* = null, reason:String = null)
type:String | |
notificationId:int | |
message:* (default = null )
| |
reason:String (default = null )
|
CLICK | Constant |
public static const CLICK:String = click
CLOSED | Constant |
public static const CLOSED:String = close
DISMISSED | Constant |
public static const DISMISSED:String = dismiss
ERROR | Constant |
public static const ERROR:String = error
MESSAGE | Constant |
public static const MESSAGE:String = message
SHOW | Constant |
public static const SHOW:String = show