updateLocalCharacteristicValue method

  1. @override
Future<void> updateLocalCharacteristicValue({
  1. required String serviceUuid,
  2. required String characteristicUuid,
  3. required List<int> value,
})
override

实现 FlutterBluetoothPluginPlatform.updateLocalCharacteristicValue

Web Bluetooth 不支持本地 GATT Server。

Implementation

@override
Future<void> updateLocalCharacteristicValue({
  required String serviceUuid,
  required String characteristicUuid,
  required List<int> value,
}) {
  throw UnsupportedError(
      'GATT server APIs are not supported by Web Bluetooth.');
}