com.android.sdklib.devices
Enum DeviceManager.DeviceFilter

java.lang.Object
  extended by java.lang.Enum<DeviceManager.DeviceFilter>
      extended by com.android.sdklib.devices.DeviceManager.DeviceFilter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DeviceManager.DeviceFilter>
Enclosing class:
DeviceManager

public static enum DeviceManager.DeviceFilter
extends java.lang.Enum<DeviceManager.DeviceFilter>


Enum Constant Summary
DEFAULT
          getDevices() flag to list default devices from the bundled devices.xml definitions.
SYSTEM_IMAGES
          getDevices() flag to list devices from system-images/platform-N/tag/abi/devices.xml
USER
          getDevices() flag to list user devices saved in the .android home folder.
VENDOR
          getDevices() flag to list vendor devices -- the bundled nexus.xml devices as well as all those coming from extra packages.
 
Method Summary
static DeviceManager.DeviceFilter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DeviceManager.DeviceFilter[] 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

DEFAULT

public static final DeviceManager.DeviceFilter DEFAULT
getDevices() flag to list default devices from the bundled devices.xml definitions.


USER

public static final DeviceManager.DeviceFilter USER
getDevices() flag to list user devices saved in the .android home folder.


VENDOR

public static final DeviceManager.DeviceFilter VENDOR
getDevices() flag to list vendor devices -- the bundled nexus.xml devices as well as all those coming from extra packages.


SYSTEM_IMAGES

public static final DeviceManager.DeviceFilter SYSTEM_IMAGES
getDevices() flag to list devices from system-images/platform-N/tag/abi/devices.xml

Method Detail

values

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

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

valueOf

public static DeviceManager.DeviceFilter valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null