Package | com.distriqt.extension.notifications.actions |
Class | public class Action |
Inheritance | Action ![]() |
ActionBuilder
See also
Property | Defined By | ||
---|---|---|---|
destructive : Boolean = false
If true this action will indicate its destructive nature
by making the action red. | Action | ||
icon : String
A custom icon resource name, eg: ic_stat_distriqt_default
These custom resources must be packaged along with your application. | Action | ||
identifier : String
This value is used to identify this action and is returned in events
associated with actions on a notification. | Action | ||
shouldCancelOnAction : Boolean = false
If true selection of this action will clear the notification
from the notification area. | Action | ||
title : String
The visible label to display on this action
| Action | ||
willLaunchApplication : Boolean = false
If true this action will launch your application. | Action |
Method | Defined By | ||
---|---|---|---|
Action()
Constructor
| Action |
destructive | property |
public var destructive:Boolean = false
If true this action will indicate its destructive nature by making the action red. iOS Only
icon | property |
public var icon:String
A custom icon resource name, eg: ic_stat_distriqt_default
These custom resources must be packaged along with your application.
Android Only
identifier | property |
public var identifier:String
This value is used to identify this action and is returned in events associated with actions on a notification. This value should be unique within a category, and you may wish to make them unique across your application to make processing easier.
shouldCancelOnAction | property |
public var shouldCancelOnAction:Boolean = false
If true selection of this action will clear the notification from the notification area. Android Only
title | property |
public var title:String
The visible label to display on this action
willLaunchApplication | property |
public var willLaunchApplication:Boolean = false
If true this action will launch your application.
This is not suggested as these actions are supposed to be
quick actions and not take the user away from their current
application.
The default is false
Android Only
Action | () | Constructor |
public function Action()
Constructor