RestrictionEntry.TypeChoice 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 "choice".

[Android.Runtime.Register("TYPE_CHOICE")]
[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 TypeChoice = 2;
[<Android.Runtime.Register("TYPE_CHOICE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)>]
val mutable TypeChoice : Android.Content.RestrictionEntryType

Field Value

Value = 2

Implements

Attributes

Remarks

Restriction of type "choice". Use this for storing a string value, typically presented as a single-select list. Call #setChoiceEntries(String[]) and #setChoiceValues(String[]) to set the localized list entries to present to the user and the corresponding values, respectively.

Java documentation for android.content.RestrictionEntry.TYPE_CHOICE.

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