Build 1.0_r1(from source)

android.provider
Enum Gmail.PersonalLevel

java.lang.Object
  extended by java.lang.Enum<Gmail.PersonalLevel>
      extended by android.provider.Gmail.PersonalLevel
All Implemented Interfaces:
Serializable, Comparable<Gmail.PersonalLevel>
Enclosing class:
Gmail

public static enum Gmail.PersonalLevel
extends Enum<Gmail.PersonalLevel>


Enum Constant Summary
NOT_TO_ME
           
ONLY_TO_ME
           
TO_ME_AND_OTHERS
           
 
Method Summary
static Gmail.PersonalLevel fromInt(int level)
           
 int toInt()
           
static Gmail.PersonalLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Gmail.PersonalLevel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature