java.lang.Object | |
↳ | com.urbanairship.push.NotificationActionButtonInfo |
Notification action button info.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NotificationActionButtonInfo(String buttonId, boolean isForeground, Bundle remoteInput, String description)
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getButtonId()
Returns the button's ID.
| ||||||||||
String |
getDescription()
The action's description.
| ||||||||||
Bundle |
getRemoteInput()
Remote input associated with the notification action.
| ||||||||||
boolean |
isForeground()
If the button should trigger a foreground action or not.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Default constructor.
buttonId | The button id. |
---|---|
isForeground | true if the action should bring the app to the foreground, otherwise false . |
remoteInput | The remote input. |
description | The description. |
Remote input associated with the notification action. Only available if the action
button defines LocalizableRemoteInput
and the button was triggered from an Android Wear device or Android N.
If the button should trigger a foreground action or not.
true
if the action should trigger a foreground action, otherwise false
.