Example usage for Java android.content RestrictionEntry fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TYPE_NULL Hidden restriction type. |
int | TYPE_BOOLEAN Restriction of type "bool". |
int | TYPE_CHOICE Restriction of type "choice". |
int | TYPE_CHOICE_LEVEL Internal restriction type. |
int | TYPE_MULTI_SELECT Restriction of type "multi-select". |
String[] | getAllSelectedStrings() Returns the list of currently selected values. |
String[] | getChoiceEntries() Returns the list of strings, set earlier, that will be presented as choices to the user. |
String[] | getChoiceValues() Returns the list of possible string values set earlier. |
String | getDescription() Returns the provided user-visible description of the entry, if any. |
int | getIntValue() Returns the value of the entry as an integer when the type is #TYPE_INTEGER . |
String | getKey() This is the unique key for the restriction entry. |
boolean | getSelectedState() Returns the current selected state for an entry of type #TYPE_BOOLEAN . |
String | getSelectedString() Returns the currently selected string value. |
String | getTitle() Returns the user-visible title for the entry, if any. |
int | getType() Returns the type for this restriction. |
void | setAllSelectedStrings(String[] allSelectedStrings) Sets the current list of selected values for an entry of type #TYPE_MULTI_SELECT . |
void | setSelectedState(boolean state) Sets the current selected state for an entry of type #TYPE_BOOLEAN . |
void | setSelectedString(String selectedString) Sets the string value to use as the selected value for this restriction. |