BleCallback2 mixin
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onBluetoothStateChanged(BluetoothState state)
→ void
-
-
onConnected(String deviceId)
→ void
-
-
onConnectionError(String deviceId, int error)
→ void
-
-
onConnectionUpdated(String deviceId, int interval, int latency, int timeout, int status)
→ void
-
连接参数更新(仅Android)
-
onConnectTimeout(String deviceId)
→ void
-
-
onDataReceived(String deviceId, String serviceUuid, String characteristicUuid, Uint8List data)
→ void
-
-
onDataSend(String deviceId, String serviceUuid, String characteristicUuid, Uint8List? data, int status)
→ void
-
数据发送结果的回调(仅Android)
-
onDisconnected(String deviceId)
→ void
-
-
onLeScan(BLEDevice device)
→ void
-
-
onMtuChanged(String deviceId, int mtu)
→ void
-
-
onNotificationStateChanged(String deviceId, String serviceUuid, String characteristicUuid, bool enabled, String? error)
→ void
-
-
读取RSSI的异步回调
-
onScanStart()
→ void
-
-
onScanStop()
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited