Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Bluetooth adapter operating mode. More...
Public Member Functions | |
BTMode (final int v) | |
Static Public Member Functions | |
static BTMode | get (final String name) throws IllegalArgumentException |
Maps the specified name to a constant of BTMode. More... | |
static BTMode | get (final int value) |
Maps the specified integer value to a constant of BTMode. More... | |
Public Attributes | |
NONE =(0) | |
Zero mode, neither DUAL, BREDR nor LE. More... | |
DUAL =(1) | |
Dual Bluetooth mode, i.e. More... | |
BREDR =(2) | |
BREDR only Bluetooth mode. More... | |
LE =(3) | |
LE only Bluetooth mode. More... | |
final int | value |
Bluetooth adapter operating mode.
See get(int) for its native integer mapping.
Definition at line 34 of file BTMode.java.
org.direct_bt.BTMode.BTMode | ( | final int | v | ) |
Definition at line 75 of file BTMode.java.
|
static |
Maps the specified integer value to a constant of BTMode.
value | the integer value to be mapped to a constant of this enum type. |
Definition at line 66 of file BTMode.java.
|
static |
Maps the specified name to a constant of BTMode.
Implementation simply returns valueOf(String). This maps the constant names itself to their respective constant.
name | the string name to be mapped to a constant of this enum type. |
IllegalArgumentException | if the specified name can't be mapped to a constant of this enum type as described above. |
Definition at line 57 of file BTMode.java.
org.direct_bt.BTMode.BREDR =(2) |
BREDR only Bluetooth mode.
Definition at line 40 of file BTMode.java.
org.direct_bt.BTMode.DUAL =(1) |
org.direct_bt.BTMode.LE =(3) |
LE only Bluetooth mode.
Definition at line 42 of file BTMode.java.
org.direct_bt.BTMode.NONE =(0) |
final int org.direct_bt.BTMode.value |
Definition at line 44 of file BTMode.java.