belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
RemoteInput
public
final
class
RemoteInput
extends Object
java.lang.Object | |
↳ | android.support.v4.app.RemoteInput |
Helper for using the RemoteInput
.
Summary
Nested classes | |
---|---|
class |
RemoteInput.Builder
Builder class for |
Constants | |
---|---|
String |
EXTRA_RESULTS_DATA
Extra added to a clip data intent object to hold the text results bundle. |
String |
RESULTS_CLIP_LABEL
Label used to denote the clip data type used for remote input transport |
Public methods | |
---|---|
static
void
|
addDataResultToIntent(RemoteInput remoteInput, Intent intent, Map<String, Uri> results)
Same as |
static
void
|
addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results)
Populate an intent object with the results gathered from remote input. |
boolean
|
getAllowFreeFormInput()
Get whether or not users can provide an arbitrary value for input. |
Set<String>
|
getAllowedDataTypes()
|
CharSequence[]
|
getChoices()
Get possible input choices. |
static
Map<String, Uri>
|
getDataResultsFromIntent(Intent intent, String remoteInputResultKey)
Similar as |
Bundle
|
getExtras()
Get additional metadata carried around with this remote input. |
CharSequence
|
getLabel()
Get the label to display to users when collecting this input. |
String
|
getResultKey()
Get the key that the result of this input will be set in from the Bundle returned by
|
static
Bundle
|
getResultsFromIntent(Intent intent)
Get the remote input text results bundle from an intent. |
boolean
|
isDataOnly()
Returns true if the input only accepts data, meaning |
Inherited methods | |
---|---|
![]()
java.lang.Object
|