android.provider
Enum Gmail.PersonalLevel
java.lang.Object
java.lang.Enum<Gmail.PersonalLevel>
android.provider.Gmail.PersonalLevel
- All Implemented Interfaces:
- Serializable, Comparable<Gmail.PersonalLevel>
- Enclosing class:
- Gmail
public static enum Gmail.PersonalLevel
- extends Enum<Gmail.PersonalLevel>
NOT_TO_ME
public static final Gmail.PersonalLevel NOT_TO_ME
TO_ME_AND_OTHERS
public static final Gmail.PersonalLevel TO_ME_AND_OTHERS
ONLY_TO_ME
public static final Gmail.PersonalLevel ONLY_TO_ME
values
public static Gmail.PersonalLevel[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Gmail.PersonalLevel c : Gmail.PersonalLevel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Gmail.PersonalLevel valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toInt
public int toInt()
fromInt
public static Gmail.PersonalLevel fromInt(int level)
Please submit a feedback, bug or feature