RemoteInput.Builder.SetEditChoicesBeforeSending(EditChoices) Method

Definition

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

[Android.Runtime.Register("setEditChoicesBeforeSending", "(I)Landroid/app/RemoteInput$Builder;", "", ApiSince=29)]
public Android.App.RemoteInput.Builder SetEditChoicesBeforeSending(Android.App.EditChoices editChoicesBeforeSending);
[<Android.Runtime.Register("setEditChoicesBeforeSending", "(I)Landroid/app/RemoteInput$Builder;", "", ApiSince=29)>]
member this.SetEditChoicesBeforeSending : Android.App.EditChoices -> Android.App.RemoteInput.Builder

Parameters

editChoicesBeforeSending
EditChoices

int: Value is one of the following: RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED

Returns

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

Attributes

Remarks

Specifies whether tapping on a choice should let the user edit the input before it is sent to the app. The default is RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO. It cannot be used if setAllowFreeFormInput(boolean) has been set to false.

Android reference for android.app.RemoteInput.Builder.setEditChoicesBeforeSending.

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