public static enum WifiInterface.Capability extends Enum<WifiInterface.Capability>
Enum Constant and Description |
---|
CIPHER_CCMP
The device supports the CCMP cipher.
|
CIPHER_TKIP
The device supports the TKIP cipher.
|
CIPHER_WEP104
The device supports the 104-bit WEP cipher.
|
CIPHER_WEP40
The device supports the 40-bit WEP cipher.
|
NONE
no capabilities supported
|
RSN
The device supports the RSN encryption/authentication protocol.
|
WPA
The device supports the WPA encryption/authentication protocol.
|
Modifier and Type | Method and Description |
---|---|
static WifiInterface.Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WifiInterface.Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WifiInterface.Capability NONE
public static final WifiInterface.Capability CIPHER_WEP40
public static final WifiInterface.Capability CIPHER_WEP104
public static final WifiInterface.Capability CIPHER_TKIP
public static final WifiInterface.Capability CIPHER_CCMP
public static final WifiInterface.Capability WPA
public static final WifiInterface.Capability RSN
public static WifiInterface.Capability[] values()
for (WifiInterface.Capability c : WifiInterface.Capability.values()) System.out.println(c);
public static WifiInterface.Capability 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 nullCopyright © 2014. All Rights Reserved.