clase final pública BluetoothGatt extiende el objeto
Resumen constante
En t | GATT_SUCCESS |
Resumen del constructor público
Resumen del método público
vacío | cerrar () |
BluetoothGattService | getService ( uuid UUID) |
Lista < BluetoothGattService > | getServices () |
booleano | setCharacteristicNotification (característica BluetoothGattCharacteristic , habilitación booleana) |
booleano | writeCharacteristic (característica BluetoothGattCharacteristic ) |
booleano | writeDescriptor (descriptor de BluetoothGattDescriptor ) |
Resumen del método heredado
Constantes
public static final int GATT_SUCCESS
Valor constante: 0
Constructores públicos
BluetoothGatt público ()
Métodos públicos
cierre del vacío público ()
public BluetoothGattService getService (UUID uuid)
Parámetros
uuid |
---|
Lista pública < BluetoothGattService > getServices ()
public boolean setCharacteristicNotification (característica BluetoothGattCharacteristic , habilitación booleana)
Parámetros
característica | |
---|---|
habilitar |
public boolean writeCharacteristic (característica BluetoothGattCharacteristic )
Parámetros
característica |
---|
public boolean writeDescriptor (descriptor de BluetoothGattDescriptor )
Parámetros
descriptor |
---|