Serializable
, Comparable<DataRequest.DataType>
public static enum DataRequest.DataType extends Enum<DataRequest.DataType>
Enum Constant | Description |
---|---|
ANY |
|
CALENDAR |
|
CALL_LOGS |
|
CONTACTS |
|
EMPTY |
|
LOCATION |
|
PHONE_STATE |
|
SMS |
Modifier and Type | Method | Description |
---|---|---|
static DataRequest.DataType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DataRequest.DataType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataRequest.DataType ANY
public static final DataRequest.DataType EMPTY
public static final DataRequest.DataType CALENDAR
public static final DataRequest.DataType CALL_LOGS
public static final DataRequest.DataType CONTACTS
public static final DataRequest.DataType LOCATION
public static final DataRequest.DataType PHONE_STATE
public static final DataRequest.DataType SMS
public static DataRequest.DataType[] values()
for (DataRequest.DataType c : DataRequest.DataType.values()) System.out.println(c);
public static DataRequest.DataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null