| Package | com.myflashlab.air.extensions.localNotifi |
| Class | public class NotificationAndroidSettings |
| Inheritance | NotificationAndroidSettings NotificationSettings Object |
| Property | Defined By | ||
|---|---|---|---|
| channelId : String [write-only]
The constructed Notification will be posted on this Notification Channel. | NotificationAndroidSettings | ||
![]() | message : String [write-only] | NotificationSettings | |
![]() | notificationId : int [write-only] | NotificationSettings | |
![]() | payload : String [write-only] | NotificationSettings | |
![]() | sound : String [write-only] | NotificationSettings | |
![]() | time : Number [write-only] | NotificationSettings | |
![]() | title : String [write-only] | NotificationSettings | |
| vibrate : Boolean [write-only] | NotificationAndroidSettings | ||
| Method | Defined By | ||
|---|---|---|---|
| NotificationAndroidSettings | |||
parse():String [override] | NotificationAndroidSettings | ||
| channelId | property |
channelId:String [write-only]
The constructed Notification will be posted on this Notification Channel. This property works only if you
have set targetSdkVersion to 26+
If you are targeting Android SDK 26 (Android O) or higher, you must first create the Notification channels you like for your app to have And then, whenever you are constructing a new notification, you should pass the already created channelId.
Channel IDs you create must be unique to your app.
public function set channelId(value:String):void| vibrate | property |
vibrate:Boolean [write-only] public function set vibrate(value:Boolean):void| NotificationAndroidSettings | () | Constructor |
public function NotificationAndroidSettings()| parse | () | method |
override public function parse():StringReturnsString |