public enum ChannelNumber extends java.lang.Enum<ChannelNumber>
| Enum Constant and Description | 
|---|
CH_1
Wi-Fi channel is 1. 
 | 
CH_11
Wi-Fi channel is 11. 
 | 
CH_6
Wi-Fi channel is 6. 
 | 
RANDOM
Wi-Fi channel is determined at random. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
UINT8 | 
value()
Returns the integer value according THETA API v1. 
 | 
static ChannelNumber | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static ChannelNumber | 
valueOf(UINT8 value)
Returns the channel number enum from the integer value defined by THETA API v1. 
 | 
static ChannelNumber[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ChannelNumber RANDOM
public static final ChannelNumber CH_1
public static final ChannelNumber CH_6
public static final ChannelNumber CH_11
public static ChannelNumber[] values()
for (ChannelNumber c : ChannelNumber.values()) System.out.println(c);
public static ChannelNumber 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 nullpublic UINT8 value()
public static ChannelNumber valueOf(UINT8 value)