BluetoothClassicConnectionEvent constructor
const
BluetoothClassicConnectionEvent({
- required String deviceId,
- required BluetoothConnectionState state,
- String? error,
创建 Classic 连接状态事件。
参数:
deviceId:Classic 设备地址,无默认值。state:连接状态,无默认值。error:错误消息,默认null。
Implementation
const BluetoothClassicConnectionEvent({
required this.deviceId,
required this.state,
this.error,
});