Package | Description |
---|---|
ej.bluetooth |
Contains Bluetooth classes.
|
Modifier and Type | Method and Description |
---|---|
BluetoothUuid |
BluetoothService.getUuid()
Returns the UUID of this service.
|
BluetoothUuid |
BluetoothAttribute.getUuid()
Returns the UUID of this attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
BluetoothServiceDefinition.addCharacteristic(BluetoothUuid uuid,
int properties,
int permissions)
Adds a characteristic to this service definition.
|
void |
BluetoothServiceDefinition.addDescriptor(BluetoothUuid uuid,
int permissions)
Adds a descriptor to this service definition.
|
boolean |
BluetoothConnection.discoverService(BluetoothUuid uuid)
Discovers the service with the given UUID provided by the device.
|
Constructor and Description |
---|
BluetoothServiceDefinition(BluetoothUuid serviceUuid)
Creates a service definition.
|