Packagefin.desktop.events
Classpublic class NotificationEvent
InheritanceNotificationEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
NotificationEvent(type:String, notificationId:int, message:* = null, reason:String = null)
NotificationEvent
Public Constants
 ConstantDefined 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
Property Detail
messsageproperty
messsage:*  [read-only]

Content of the message received from notification. it can either be String or an Object.


Implementation
    public function get messsage():*
notificationIdproperty 
notificationId:int  [read-only]

ID of the notification that dispatched the event.


Implementation
    public function get notificationId():int
reasonproperty 
reason:String  [read-only]

if it's an error event, reason will be populated with the description of the cause of the error.


Implementation
    public function get reason():String
Constructor Detail
NotificationEvent()Constructor
public function NotificationEvent(type:String, notificationId:int, message:* = null, reason:String = null)



Parameters
type:String
 
notificationId:int
 
message:* (default = null)
 
reason:String (default = null)
Constant Detail
CLICKConstant
public static const CLICK:String = click

CLOSEDConstant 
public static const CLOSED:String = close

DISMISSEDConstant 
public static const DISMISSED:String = dismiss

ERRORConstant 
public static const ERROR:String = error

MESSAGEConstant 
public static const MESSAGE:String = message

SHOWConstant 
public static const SHOW:String = show