public class BluetoothDatabase
extends java.lang.Object
Constructor and Description |
---|
BluetoothDatabase() |
Modifier and Type | Method and Description |
---|---|
short |
addService(ej.bluetooth.BluetoothService service,
short counter,
short[] handles) |
void |
clear() |
ej.bluetooth.BluetoothAttribute |
getAttribute(short attributeHandle) |
java.lang.Short |
getAttributeHandle(ej.bluetooth.BluetoothAttribute attribute) |
java.lang.Short |
getServiceHandle(ej.bluetooth.BluetoothService service) |
public void clear()
@Nullable public java.lang.Short getServiceHandle(ej.bluetooth.BluetoothService service)
@Nullable public java.lang.Short getAttributeHandle(ej.bluetooth.BluetoothAttribute attribute)
@Nullable public ej.bluetooth.BluetoothAttribute getAttribute(short attributeHandle)
public short addService(ej.bluetooth.BluetoothService service, short counter, @Nullable short[] handles)