Język

Notification.Builder.SetRemoteInputHistory Method

Definition

Overloads

Name Description
SetRemoteInputHistory(ICharSequence[])

Set the remote input history.

SetRemoteInputHistory(String[])

Set the remote input history.

SetRemoteInputHistory(ICharSequence[])

Set the remote input history.

[Android.Runtime.Register("setRemoteInputHistory", "([Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", "GetSetRemoteInputHistory_arrayLjava_lang_CharSequence_Handler", ApiSince=24)]
public virtual Android.App.Notification.Builder SetRemoteInputHistory(Java.Lang.ICharSequence[]? text);
[<Android.Runtime.Register("setRemoteInputHistory", "([Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", "GetSetRemoteInputHistory_arrayLjava_lang_CharSequence_Handler", ApiSince=24)>]
abstract member SetRemoteInputHistory : Java.Lang.ICharSequence[] -> Android.App.Notification.Builder
override this.SetRemoteInputHistory : Java.Lang.ICharSequence[] -> Android.App.Notification.Builder

Parameters

text
ICharSequence[]

CharSequence

Returns

This Android.App.Notification.Builder instance, allowing calls to be chained.

Attributes

Remarks

Set the remote input history. This should be set to the most recent inputs that have been sent through a RemoteInput of this Notification and cleared once the it is no longer relevant (e.g. for chat notifications once the other party has responded). The most recent input must be stored at the 0 index, the second most recent at the 1 index, etc. Note that the system will limit both how far back the inputs will be shown and how much of each individual input is shown. Note: The reply text will only be shown on notifications that have least one action with a RemoteInput.

Android reference for android.app.Notification.Builder.setRemoteInputHistory.

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

SetRemoteInputHistory(String[])

Set the remote input history.

public Android.App.Notification.Builder SetRemoteInputHistory(string[]? text);
member this.SetRemoteInputHistory : string[] -> Android.App.Notification.Builder

Parameters

text
String[]

CharSequence

Returns

This Android.App.Notification.Builder instance, allowing calls to be chained.

Remarks

Set the remote input history. This should be set to the most recent inputs that have been sent through a RemoteInput of this Notification and cleared once the it is no longer relevant (e.g. for chat notifications once the other party has responded). The most recent input must be stored at the 0 index, the second most recent at the 1 index, etc. Note that the system will limit both how far back the inputs will be shown and how much of each individual input is shown. Note: The reply text will only be shown on notifications that have least one action with a RemoteInput.

Android reference for android.app.Notification.Builder.setRemoteInputHistory.

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