| java.lang.Object | |
| ↳ | android.preview.support.wearable.notifications.RemoteInput.Builder |
Builder class for RemoteInput objects.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a builder object for
RemoteInput objects. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Combine all of the options that have been set and return a new
RemoteInput
object. | |||||||||||
Specifies whether the user can provide arbitrary values.
| |||||||||||
Specifies choices available to the user to satisfy this input.
| |||||||||||
Set a label to be displayed to the user when collecting this input.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a builder object for RemoteInput objects.
| returnKey | the extras key to be set with input collected from the user when the intent is sent. |
|---|
Combine all of the options that have been set and return a new RemoteInput
object.
Specifies whether the user can provide arbitrary values. The
default is true. If this is set to false, a
non-null non-empty value should be passed to setChoices(String[]).
Specifies choices available to the user to satisfy this input.
Set a label to be displayed to the user when collecting this input.