public enum WifiCapability extends Enum<WifiCapability>
Enum Constant and Description |
---|
BOTH_EXCLUSIVE
The Wi-Fi module can act as a client and as an access point but not at the same time.
|
BOTH_SIMULTANEOUS
The Wi-Fi module can act as a client and as an access point at the same time.
|
CLIENT
It is possible to join an existing wireless networks.
|
SOFT_AP
It is possible to create a new wireless network.
|
Modifier and Type | Method and Description |
---|---|
static WifiCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WifiCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WifiCapability BOTH_EXCLUSIVE
public static final WifiCapability BOTH_SIMULTANEOUS
public static final WifiCapability CLIENT
public static final WifiCapability SOFT_AP
public static WifiCapability valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static WifiCapability[] values()
for (WifiCapability c : WifiCapability.values()) System.out.println(c);