Package com.android.sdklib.devices
Enum DeviceManager.DeviceFilter
- java.lang.Object
-
- java.lang.Enum<DeviceManager.DeviceFilter>
-
- 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
Enum Constants Enum Constant Description DEFAULTgetDevices() flag to list default devices from the bundled devices.xml definitions.SYSTEM_IMAGESgetDevices() flag to list devices from system-images/platform-N/tag/abi/devices.xmlUSERgetDevices() flag to list user devices saved in the .android home folder.VENDORgetDevices() flag to list vendor devices -- the bundled nexus.xml devices as well as all those coming from extra packages.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeviceManager.DeviceFiltervalueOf(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.
-
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
-