BluetoothBondStateEvent constructor

const BluetoothBondStateEvent({
  1. required String deviceId,
  2. required BluetoothBondState state,
})

创建绑定状态事件。

参数:

  • deviceId:设备标识,无默认值。
  • state:绑定状态,无默认值。

Implementation

const BluetoothBondStateEvent({required this.deviceId, required this.state});