Share via


RestrictionEntry.TypeMultiSelect Field

Definition

Caution

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

Restriction of type "multi-select".

[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

Field Value

Value = 4

Implements

Attributes

Remarks

Restriction of type "multi-select". Use this for presenting a multi-select list where more than one entry can be selected, such as for choosing specific titles to allowlist. Call #setChoiceEntries(String[]) and #setChoiceValues(String[]) to set the localized list entries to present to the user and the corresponding values, respectively. Use #getAllSelectedStrings() and #setAllSelectedStrings(String[]) to manipulate the selections.

Java documentation for android.content.RestrictionEntry.TYPE_MULTI_SELECT.

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