qnx.notification.Notification

Notification

Properties


Packageqnx.notification
Classpublic final class Notification
InheritanceNotification Inheritance Object

The Notification class is used send notifications to the system with the NotificationManager.notifyNotification() method.

Class information:
BlackBerry 10 Version:   10.0.0

See also

NotificationManager.notifyNotification()



Public Properties

 PropertyDefined By
  invokeAction : String
The action to be performed by the target.
Notification
  invokeData : ByteArray
Data to be acted upon encoded based on the specified type.
Notification
  invokeMimeType : String
The MIME type of data to be acted on.
Notification
  invokeTarget : String
The identifier of the target to be invoked.
Notification
  invokeUri : String
The uri pointing to invocation data.
Notification
  itemId : String
A Unique ID for this application.
Notification
  subTitle : String
The SubTitle to appear in Universal Inbox Entries.
Notification
  title : String
The Title to appear in Universal Inbox Entries.
Notification

Property Detail

invokeAction


public var invokeAction:String

The action to be performed by the target. If the action is omitted, the target should infer the action. Valid values for this property can be found as constants in the InvokeAction class.

invokeData


public var invokeData:ByteArray

Data to be acted upon encoded based on the specified type. Omitting the data implies that the action property is sufficient to carry out the invocation.

invokeMimeType


public var invokeMimeType:String

The MIME type of data to be acted on. Note that this attribute is optional in the request. If the mime type is not specified the Invocation Framework will attempt to infer the mime type from the given uri. If the mime type can not be inferred or uri property is empty then invocation will be rejected.

invokeTarget


public var invokeTarget:String

The identifier of the target to be invoked. If the target is supplied when brokering is bypassed and an attempt is made to invoke the specified target.

invokeUri


public var invokeUri:String

The uri pointing to invocation data. If no uri is provided then the value of the data property is used.

itemId


public var itemId:String

A Unique ID for this application. This will be auto-populated with a Unique ID after being sent through NotificationManager.notify()

subTitle


public var subTitle:String

The SubTitle to appear in Universal Inbox Entries. Optional Value Defaults to null.

title


public var title:String

The Title to appear in Universal Inbox Entries. Optional Value Defaults to application name.





comments powered by Disqus