java.lang.Object | |
↳ | android.app.Notification.Action.Builder |
Builder class for Notification.Action
objects.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new builder for
Notification.Action object.
| |||||||||||
Construct a new builder for
Notification.Action object using the fields from an
Notification.Action .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Merge additional metadata into this builder.
| |||||||||||
Add an input to be collected from the user when this action is sent.
| |||||||||||
Combine all of the options that have been set and return a new
Notification.Action
object.
| |||||||||||
Apply an extender to this action builder.
| |||||||||||
Get the metadata Bundle used by this Builder.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Construct a new builder for Notification.Action
object.
icon | icon to show for this action |
---|---|
title | the title of the action |
intent | the PendingIntent to fire when users trigger this action
|
Construct a new builder for Notification.Action
object using the fields from an
Notification.Action
.
action | the action to read fields from. |
---|
Merge additional metadata into this builder.
Values within the Bundle will replace existing extras values in this Builder.
Add an input to be collected from the user when this action is sent.
Response values can be retrieved from the fired intent by using the
getResultsFromIntent(Intent)
function.
remoteInput | a RemoteInput to add to the action |
---|
Combine all of the options that have been set and return a new Notification.Action
object.
Apply an extender to this action builder. Extenders may be used to add metadata or change options on this builder.
Get the metadata Bundle used by this Builder.
The returned Bundle is shared with this Builder.