public enum WifiPowerSave extends java.lang.Enum<WifiPowerSave>
| Enum Constant and Description |
|---|
WIFI_POWER_SAVE_DISABLED |
WIFI_Q_POWER |
WIFI_Q_POWER_VOIP_CALLS |
| Modifier and Type | Method and Description |
|---|---|
static WifiPowerSave |
fromInt(int n)
Retrieves the corresponding WifiPowerSave value, from a valid integer.
|
int |
toInt()
Converts the WifiPowerSave to its integer corresponding value.
|
static WifiPowerSave |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WifiPowerSave[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WifiPowerSave WIFI_POWER_SAVE_DISABLED
public static final WifiPowerSave WIFI_Q_POWER
public static final WifiPowerSave WIFI_Q_POWER_VOIP_CALLS
public static WifiPowerSave[] values()
for (WifiPowerSave c : WifiPowerSave.values()) System.out.println(c);
public static WifiPowerSave 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 int toInt()
public static WifiPowerSave fromInt(int n)
n - int