qnx.events.NotificationEvent

NotificationEvent

Methods | Constants


Packageqnx.events
Classpublic class NotificationEvent
InheritanceNotificationEvent Inheritance flash.events.Event

The NotificationEvent is dispatched when a Notification is successfully sent.

Class information:
BlackBerry 10 Version:   10.0.0
Found in:  QNXDevice.ane

See also

qnx.notification.NotificationManager



Public Methods

 MethodDefined By
  
NotificationEvent(type:String)
Creates a NotificationEvent instance.
NotificationEvent

Public Constants

 ConstantDefined By
  CANCEL : String = cancel
[static] Dispatched when a Cancel Notification is successfully sent.
NotificationEvent
  DELETE : String = delete
[static] Dispatched when a Delete Notification is successfully sent.
NotificationEvent
  NOTIFY : String = notify
[static] Dispatched when a Notify Notification is successfully sent.
NotificationEvent

Constructor Detail

NotificationEvent()


public function NotificationEvent(type:String)

Creates a NotificationEvent instance.

Parameters

type:String — The event type.

Constant Detail

CANCEL


public static const CANCEL:String = cancel

Dispatched when a Cancel Notification is successfully sent.

This event is dispatched after a call to NotificationManager.cancelNotification()

The NotificationEvent.CANCEL constant defines the value of the type property of the event object for an cancel event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
typeNotificationEvent.CANCEL

See also

qnx.notification.NotificationManager.cancelNotification()

DELETE


public static const DELETE:String = delete

Dispatched when a Delete Notification is successfully sent.

This event is dispatched after a call to NotificationManager.deleteNotification()

The NotificationEvent.DELETE constant defines the value of the type property of the event object for an delete event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
typeNotificationEvent.DELETE

See also

qnx.notification.NotificationManager.deleteNotification()

NOTIFY


public static const NOTIFY:String = notify

Dispatched when a Notify Notification is successfully sent.

This event is dispatched after a call to NotificationManager.notifyNotification()

The NotificationEvent.NOTIFY constant defines the value of the type property of the event object for an notify event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
typeNotificationEvent.NOTIFY

See also

qnx.notification.NotificationManager.notifyNotification()





comments powered by Disqus