语言

RemoteInput.Builder.SetEditChoicesBeforeSending(EditChoices) 方法

定义

指定在将输入发送到应用之前,点击某个选项是否应允许用户编辑输入。

[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

参数

editChoicesBeforeSending
EditChoices

int:值是下列值之一: BeforeSendingAutoBeforeSendingDisabledBeforeSendingEnabled

返回

此 Android.App.RemoteInput.Builder 实例允许链接调用。

特性

注解

指定在将输入发送到应用之前,点击某个选项是否应允许用户编辑输入。 默认值为RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO。 如果 setAllowFreeFormInput(boolean) 已设置为 false,则无法使用它。

Android 参考。android.app.RemoteInput.Builder.setEditChoicesBeforeSending

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于