Package | net.flashplusplus.Snapdragon.NotificationCenter |
Class | public class SDLocalNotification |
Inheritance | SDLocalNotification Object |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
SDLocalNotification(id:String, alertBody:String, fireDate:Date)
Constructor of SDLocalNotification class. | SDLocalNotification |
alertAction | property |
alertAction:String
The title of the action button or slider.
public function get alertAction():String
public function set alertAction(value:String):void
alertBody | property |
alertBody:String
The main text of the notification.
public function get alertBody():String
public function set alertBody(value:String):void
badgeNumber | property |
badgeNumber:uint
The number will be shown at the icon of the application after the notification received.
public function get badgeNumber():uint
public function set badgeNumber(value:uint):void
fireDate | property |
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.
public function get fireDate():Date
public function set fireDate(value:Date):void
id | property |
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.
public function get id():String
public function set id(value:String):void
SDLocalNotification | () | Constructor |
public function SDLocalNotification(id:String, alertBody:String, fireDate:Date)
Constructor of SDLocalNotification class.
Parametersid: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.
|