Freigeben über


Notification.ExtraRemoteInputHistory Field

Definition

#extras key: this is the remote input history, as supplied to Builder#setRemoteInputHistory(CharSequence[]).

[Android.Runtime.Register("EXTRA_REMOTE_INPUT_HISTORY", ApiSince=24)]
public const string ExtraRemoteInputHistory;
[<Android.Runtime.Register("EXTRA_REMOTE_INPUT_HISTORY", ApiSince=24)>]
val mutable ExtraRemoteInputHistory : string

Field Value

Implements

Attributes

Remarks

#extras key: this is the remote input history, as supplied to Builder#setRemoteInputHistory(CharSequence[]).

Apps can fill this through Builder#setRemoteInputHistory(CharSequence[]) with the most recent inputs that have been sent through a RemoteInput of this Notification and are expected to clear it once the it is no longer relevant (e.g. for chat notifications once the other party has responded).

The extra with this key is of type CharSequence[] and contains the most recent entry at the 0 index, the second most recent at the 1 index, etc.

Java documentation for android.app.Notification.EXTRA_REMOTE_INPUT_HISTORY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to