RestrictionEntry.TypeChoice Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = 2Implements
- 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.