com.android.ddmlib
Enum EmulatorConsole.GsmMode
java.lang.Object
java.lang.Enum<EmulatorConsole.GsmMode>
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.
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
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.