com.android.ddmlib
Enum EmulatorConsole.GsmMode

java.lang.Object
  extended by java.lang.Enum<EmulatorConsole.GsmMode>
      extended by com.android.ddmlib.EmulatorConsole.GsmMode
All Implemented Interfaces:
Serializable, Comparable<EmulatorConsole.GsmMode>
Enclosing class:
EmulatorConsole

public static enum EmulatorConsole.GsmMode
extends Enum<EmulatorConsole.GsmMode>

Gsm Mode enum.


Enum Constant Summary
DENIED
           
HOME
           
ROAMING
           
SEARCHING
           
UNKNOWN
           
UNREGISTERED
           
 
Method Summary
static EmulatorConsole.GsmMode getEnum(String tag)
           
 String getTag()
          Returns the first tag of the enum.
static EmulatorConsole.GsmMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EmulatorConsole.GsmMode[] 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, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final EmulatorConsole.GsmMode UNKNOWN

UNREGISTERED

public static final EmulatorConsole.GsmMode UNREGISTERED

HOME

public static final EmulatorConsole.GsmMode HOME

ROAMING

public static final EmulatorConsole.GsmMode ROAMING

SEARCHING

public static final EmulatorConsole.GsmMode SEARCHING

DENIED

public static final EmulatorConsole.GsmMode DENIED
Method Detail

values

public static EmulatorConsole.GsmMode[] 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 (EmulatorConsole.GsmMode c : EmulatorConsole.GsmMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EmulatorConsole.GsmMode 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

getEnum

public static EmulatorConsole.GsmMode getEnum(String tag)

getTag

public String getTag()
Returns the first tag of the enum.



Copyright © 2008-2012. All Rights Reserved.