com.eurotech.framework.net.wifi
Enum WifiRadioMode
java.lang.Object
java.lang.Enum<WifiRadioMode>
com.eurotech.framework.net.wifi.WifiRadioMode
- All Implemented Interfaces:
- Serializable, Comparable<WifiRadioMode>
public enum WifiRadioMode
- extends Enum<WifiRadioMode>
Types of wifi radio modes
RADIO_MODE_80211a
public static final WifiRadioMode RADIO_MODE_80211a
RADIO_MODE_80211b
public static final WifiRadioMode RADIO_MODE_80211b
RADIO_MODE_80211g
public static final WifiRadioMode RADIO_MODE_80211g
RADIO_MODE_80211nHT20
public static final WifiRadioMode RADIO_MODE_80211nHT20
RADIO_MODE_80211nHT40below
public static final WifiRadioMode RADIO_MODE_80211nHT40below
RADIO_MODE_80211nHT40above
public static final WifiRadioMode RADIO_MODE_80211nHT40above
values
public static WifiRadioMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (WifiRadioMode c : WifiRadioMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WifiRadioMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
parseCode
public static WifiRadioMode parseCode(int code)
getCode
public static int getCode(WifiRadioMode radioMode)
Copyright © 2013. All Rights Reserved.