RemoteInput

public final class RemoteInput


Helper for using the android.app.RemoteInput.

Summary

Nested types

RemoteInput.Builder

Builder class for androidx.core.app.RemoteInput objects.

Constants

static final int

The platform will determine whether choices will be edited before being sent to the app.

static final int

Tapping on a choice should send the input immediately, without letting the user edit it.

static final int

Tapping on a choice should let the user edit the input before it is sent to the app.

static final String

Extra added to a clip data intent object to hold the text results bundle.

static final String

Label used to denote the clip data type used for remote input transport

static final int

The user selected one of the choices from getChoices.

static final int

The user manually entered the data.

Public constructors

Public methods

static void
addDataResultToIntent(
    RemoteInput remoteInput,
    Intent intent,
    Map<StringUri> results
)

Same as addResultsToIntent but for setting data results.

static void
addResultsToIntent(
    RemoteInput[] remoteInputs,
    Intent intent,
    Bundle results
)

Populate an intent object with the results gathered from remote input.

boolean

Get whether or not users can provide an arbitrary value for input.

Set<String>
CharSequence[]

Get possible input choices.

static Map<