BluetoothDescriptorValue constructor

const BluetoothDescriptorValue({
  1. required String deviceId,
  2. required String serviceUuid,
  3. required String characteristicUuid,
  4. required String descriptorUuid,
  5. required List<int> value,
})

创建描述符值事件。

参数:

  • deviceId:设备标识,无默认值。
  • serviceUuid:服务 UUID,无默认值。
  • characteristicUuid:特征 UUID,无默认值。
  • descriptorUuid:描述符 UUID,无默认值。
  • value:收到的字节数组,无默认值。

Implementation

const BluetoothDescriptorValue({
  required this.deviceId,
  required this.serviceUuid,
  required this.characteristicUuid,
  required this.descriptorUuid,
  required this.value,
});