public enum BluetoothSignalCheckingLevel extends java.lang.Enum<BluetoothSignalCheckingLevel>
| Modifier and Type | Method and Description |
|---|---|
static BluetoothSignalCheckingLevel |
fromValue(int value)
Gets a level from its byte value.
|
byte |
getCode()
Gets the byte value of the level.
|
static java.lang.String[] |
names()
Returns an array containing the names of the level constants.
|
java.lang.String |
toString()
Returns the string message of the level.
|
byte |
value()
Gets the byte value of the level.
|
static BluetoothSignalCheckingLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BluetoothSignalCheckingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BluetoothSignalCheckingLevel normal
public static final BluetoothSignalCheckingLevel higher
public static BluetoothSignalCheckingLevel[] values()
for (BluetoothSignalCheckingLevel c : BluetoothSignalCheckingLevel.values()) System.out.println(c);
public static BluetoothSignalCheckingLevel 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 byte value()
public byte getCode()
public java.lang.String toString()
toString in class java.lang.Enum<BluetoothSignalCheckingLevel>public static BluetoothSignalCheckingLevel fromValue(int value) throws java.lang.IllegalArgumentException
value - The byte value of the level.java.lang.IllegalArgumentException - If the byte value does not correspond to any level.public static java.lang.String[] names()