java.lang.Object | |
↳ | android.preview.support.wearable.notifications.WearableNotifications.Action.Builder |
Builder class for WearableNotifications.Action
objects.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new builder for
WearableNotifications.Action object. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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
WearableNotifications.Action
object. | |||||||||||
Get the current metadata Bundle used by this Builder, creating a new one
as necessary.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Construct a new builder for WearableNotifications.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
|
Add an input to be collected from the user when this action is sent. Response values are sent as extras to this action's pending intent when sent.
remoteInput | a RemoteInput to add to the action |
---|
Combine all of the options that have been set and return a new WearableNotifications.Action
object.
Get the current metadata Bundle used by this Builder, creating a new one as necessary.
The returned Bundle is shared with this Builder.