語言

RestrictionEntry.TypeMultiSelect 欄位

定義

警告

This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.

「多選」類型的限制。

[Android.Runtime.Register("TYPE_MULTI_SELECT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)]
public const Android.Content.RestrictionEntryType TypeMultiSelect = 4;
[<Android.Runtime.Register("TYPE_MULTI_SELECT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)>]
val mutable TypeMultiSelect : Android.Content.RestrictionEntryType

欄位值

Value = 4

實作

屬性

備註

「多選」類型的限制。 利用此功能呈現多重選擇清單,可選擇多個條目,例如選擇特定片目以允許名單。 呼叫 #setChoiceEntries(String[]) 和 #setChoiceValues(String[]) 分別設定本地化清單條目以呈現給使用者及相應值。 使用 #getAllSelectedStrings() 並 #setAllSelectedStrings(String[]) 操作這些選擇。

Java 文件 android.content.RestrictionEntry.TYPE_MULTI_SELECT。

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

適用於