Android.Content.RestrictionEntry Members

The members of Android.Content.RestrictionEntry are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
TypeBooleanRestrictionEntryType (1). A type of restriction.
const
TypeChoiceRestrictionEntryType (2). A type of restriction.
const
TypeIntegerRestrictionEntryType (5). A type of restriction.
const
TypeMultiSelectRestrictionEntryType (4). A type of restriction.
const
TypeNullRestrictionEntryType (0). A type of restriction.
const
TypeStringRestrictionEntryType (6). A type of restriction.

Public Properties

[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
Descriptionstring. Returns the provided user-visible description of the entry, if any.
IntValueint. Returns the value of the entry as an integer when the type is RestrictionEntry.TypeInteger.
[read-only]
Keystring. This is the unique key for the restriction entry.
SelectedStatebool. Returns the current selected state for an entry of type RestrictionEntry.TypeBoolean.
SelectedStringstring. Returns the currently selected string value.
Titlestring. Returns the user-visible title for the entry, if any.
TypeRestrictionEntryType. Returns the type for this restriction.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
GetAllSelectedStrings() : string[]
Returns the list of currently selected values.
GetChoiceEntries() : string[]
Returns the list of strings, set earlier, that will be presented as choices to the user.
GetChoiceValues() : string[]
Returns the list of possible string values set earlier.
SetAllSelectedStrings(string[])
Sets the current list of selected values for an entry of type RestrictionEntry.TypeMultiSelect.
SetChoiceEntries(string[])
Sets a list of strings that will be presented as choices to the user.
SetChoiceEntries(Context, int)
Sets a list of strings that will be presented as choices to the user.
SetChoiceValues(string[])
Sets a list of string values that can be selected by the user.
SetChoiceValues(Context, int)
Sets a list of string values that can be selected by the user, similar to RestrictionEntry.SetChoiceValues(String[]).
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.