java.lang.Object | |
↳ | com.urbanairship.push.notifications.NotificationActionButton |
Model object encapsulating the data relevant to a notification action button.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | NotificationActionButton.Builder | Builds the NotificationAction. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDescription()
Gets the button's description.
| ||||||||||
Bundle |
getExtras()
Gets the button's extras.
| ||||||||||
int |
getIcon()
Gets the button's icon.
| ||||||||||
String |
getId()
Gets the button's ID.
| ||||||||||
String |
getLabel(Context context)
Gets the button's label.
| ||||||||||
List<LocalizableRemoteInput> |
getRemoteInputs()
Gets the remote inputs.
| ||||||||||
boolean |
isForegroundAction()
Flag that indicates if it is a foreground action.
| ||||||||||
static NotificationActionButton.Builder |
newBuilder(String buttonId)
Creates a new Builder from a button ID.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the button's icon.
Gets the remote inputs.
Flag that indicates if it is a foreground action.
true
if it is a foreground action, otherwise false
.
Creates a new Builder from a button ID.
buttonId | The button identifier. |
---|