public static enum DeviceProperties.SMUFS_PWRSOURCES extends java.lang.Enum<DeviceProperties.SMUFS_PWRSOURCES>
Enum to provide the device power sources.
| Enum Constant and Description |
|---|
SMUFS_BATTERY |
SMUFS_EXTPWR |
SMUFS_PWR_UNKNOWN |
SMUFS_USB_SRC |
| Modifier and Type | Field and Description |
|---|---|
int |
_pwrsrc |
| Modifier and Type | Method and Description |
|---|---|
static DeviceProperties.SMUFS_PWRSOURCES |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceProperties.SMUFS_PWRSOURCES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceProperties.SMUFS_PWRSOURCES SMUFS_BATTERY
public static final DeviceProperties.SMUFS_PWRSOURCES SMUFS_EXTPWR
public static final DeviceProperties.SMUFS_PWRSOURCES SMUFS_PWR_UNKNOWN
public static final DeviceProperties.SMUFS_PWRSOURCES SMUFS_USB_SRC
public static DeviceProperties.SMUFS_PWRSOURCES valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static DeviceProperties.SMUFS_PWRSOURCES[] values()
for (DeviceProperties.SMUFS_PWRSOURCES c : DeviceProperties.SMUFS_PWRSOURCES.values()) System.out.println(c);