public static enum ConnectManager.ALERT extends java.lang.Enum<ConnectManager.ALERT>
Enum Constant and Description |
---|
ALERT_BT_OFF |
ALERT_DISABLE |
ALERT_GPS_DISABLED |
ALERT_GPS_ENABLED |
ALERT_P2P_OFF |
Modifier and Type | Method and Description |
---|---|
static ConnectManager.ALERT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectManager.ALERT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectManager.ALERT ALERT_DISABLE
public static final ConnectManager.ALERT ALERT_GPS_ENABLED
public static final ConnectManager.ALERT ALERT_GPS_DISABLED
public static final ConnectManager.ALERT ALERT_BT_OFF
public static final ConnectManager.ALERT ALERT_P2P_OFF
public static ConnectManager.ALERT[] values()
for (ConnectManager.ALERT c : ConnectManager.ALERT.values()) System.out.println(c);
public static ConnectManager.ALERT 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 null