@ProviderType
public interface BluetoothLeGattService
Modifier and Type | Method and Description |
---|---|
BluetoothLeGattCharacteristic |
findCharacteristic(java.util.UUID uuid)
Find a BluetoothLeGattCharacteristic specifying the UUID of the characteristic.
|
java.util.List<BluetoothLeGattCharacteristic> |
findCharacteristics()
Returns a list of BluetoothLeGattCharacteristic available on this service.
|
BluetoothLeDevice |
getDevice()
Returns the device to which this service belongs to.
|
java.util.UUID |
getUUID()
Get the UUID of this service
|
boolean |
isPrimary()
Returns true if this service is a primary service, false if secondary.
|
BluetoothLeGattCharacteristic findCharacteristic(java.util.UUID uuid) throws KuraBluetoothResourceNotFoundException
uuid
- The UUID of the GATT characteristicKuraBluetoothResourceNotFoundException
java.util.List<BluetoothLeGattCharacteristic> findCharacteristics() throws KuraBluetoothResourceNotFoundException
KuraBluetoothResourceNotFoundException
java.util.UUID getUUID()
BluetoothLeDevice getDevice()
boolean isPrimary()