Packagenet.flashplusplus.Snapdragon.NotificationCenter
Classpublic class SDLocalNotification
InheritanceSDLocalNotification Inheritance Object

SDLocalNotification is a descriptor class to initiate a notification in Notification Center.



Public Properties
 PropertyDefined By
  alertAction : String
The title of the action button or slider.
SDLocalNotification
  alertBody : String
The main text of the notification.
SDLocalNotification
  badgeNumber : uint
The number will be shown at the icon of the application after the notification received.
SDLocalNotification
  fireDate : Date
The identifier of the notification used by the Notification.
SDLocalNotification
  id : String
The identifier of the notification used by the Notification.
SDLocalNotification
Public Methods
 MethodDefined By
  
SDLocalNotification(id:String, alertBody:String, fireDate:Date)
Constructor of SDLocalNotification class.
SDLocalNotification
Property Detail
alertActionproperty
alertAction:String

The title of the action button or slider.


Implementation
    public function get alertAction():String
    public function set alertAction(value:String):void
alertBodyproperty 
alertBody:String

The main text of the notification.


Implementation
    public function get alertBody():String
    public function set alertBody(value:String):void
badgeNumberproperty 
badgeNumber:uint

The number will be shown at the icon of the application after the notification received.


Implementation
    public function get badgeNumber():uint
    public function set badgeNumber(value:uint):void
fireDateproperty 
fireDate:Date

The identifier of the notification used by the Notification. If there are more notification with the same id, the newer one overwrites the older one.


Implementation
    public function get fireDate():Date
    public function set fireDate(value:Date):void
idproperty 
id:String

The identifier of the notification used by the Notification. If there are more notification with the same id, the newer one overwrites the older one.


Implementation
    public function get id():String
    public function set id(value:String):void
Constructor Detail
SDLocalNotification()Constructor
public function SDLocalNotification(id:String, alertBody:String, fireDate:Date)

Constructor of SDLocalNotification class.

Parameters
id:String — is the identifier string of the notification the event belongs to. If there is a notification with the same id in the Notification Center, the it will be overwriten with the new one.
 
alertBody:String — is the main text of the notification.
 
fireDate:Date — is a date object at which the notification will be displayed.