public enum WifiCapability extends java.lang.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(java.lang.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[] values()
for (WifiCapability c : WifiCapability.values()) System.out.println(c);
public static WifiCapability 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