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