語言

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

智力:價值是以下之一:RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED

傳回

這個 Android.App.RemoteInput.Builder 實例,允許通話串接。

屬性

備註

規定點擊選項是否應該讓使用者在輸入內容傳送到應用程式前編輯。 預設是RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO。 若 setAllowFreeFormInput(boolean) 被設為 false,則無法使用此方法。

Android 參考資料。android.app.RemoteInput.Builder.setEditChoicesBeforeSending

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於