public enum BluetoothGattSecurityLevel extends java.lang.Enum<BluetoothGattSecurityLevel>
Modifier and Type | Method and Description |
---|---|
static BluetoothGattSecurityLevel |
getBluetoothGattSecurityLevel(java.lang.String level) |
static BluetoothGattSecurityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BluetoothGattSecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BluetoothGattSecurityLevel LOW
public static final BluetoothGattSecurityLevel MEDIUM
public static final BluetoothGattSecurityLevel HIGH
public static final BluetoothGattSecurityLevel UNKNOWN
public static BluetoothGattSecurityLevel[] values()
for (BluetoothGattSecurityLevel c : BluetoothGattSecurityLevel.values()) System.out.println(c);
public static BluetoothGattSecurityLevel 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 static BluetoothGattSecurityLevel getBluetoothGattSecurityLevel(java.lang.String level)