public static enum BluetoothHelper.Permissions extends java.lang.Enum<BluetoothHelper.Permissions>
Enum Constant and Description |
---|
PERMISSION_READ |
PERMISSION_READ_ENCRYPTED |
PERMISSION_READ_ENCRYPTED_MITM |
PERMISSION_WRITE |
PERMISSION_WRITE_ENCRYPTED |
PERMISSION_WRITE_ENCRYPTED_MITM |
PERMISSION_WRITE_SIGNED |
PERMISSION_WRITE_SIGNED_MITM |
UNUSED |
Modifier and Type | Method and Description |
---|---|
static BluetoothHelper.Permissions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BluetoothHelper.Permissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BluetoothHelper.Permissions PERMISSION_READ
public static final BluetoothHelper.Permissions PERMISSION_READ_ENCRYPTED
public static final BluetoothHelper.Permissions PERMISSION_READ_ENCRYPTED_MITM
public static final BluetoothHelper.Permissions UNUSED
public static final BluetoothHelper.Permissions PERMISSION_WRITE
public static final BluetoothHelper.Permissions PERMISSION_WRITE_ENCRYPTED
public static final BluetoothHelper.Permissions PERMISSION_WRITE_ENCRYPTED_MITM
public static final BluetoothHelper.Permissions PERMISSION_WRITE_SIGNED
public static final BluetoothHelper.Permissions PERMISSION_WRITE_SIGNED_MITM
public static BluetoothHelper.Permissions[] values()
for (BluetoothHelper.Permissions c : BluetoothHelper.Permissions.values()) System.out.println(c);
public static BluetoothHelper.Permissions 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 null