BluetoothPhyEvent constructor
const
BluetoothPhyEvent({
- required String deviceId,
- required BluetoothPhy txPhy,
- required BluetoothPhy rxPhy,
- int? status,
创建 PHY 事件。
参数:
deviceId:设备标识,无默认值。txPhy:发送方向 PHY,无默认值。rxPhy:接收方向 PHY,无默认值。status:平台原生状态码,默认null;主要 Android 有意义。
Implementation
const BluetoothPhyEvent({
required this.deviceId,
required this.txPhy,
required this.rxPhy,
this.status,
});