BleCtrlInterface class abstract

Implementers

Constructors

BleCtrlInterface()

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

connect(String mac) → void
disconnect(String mac) → void
isAuthorized() Future<bool>
ios专用,获取是否已经授权
isBleEnable() Future<bool>
蓝牙是否已经开启
isGpsEnable() Future<bool>
GPS是否已经开启
isOTA() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAuthorized() → void
ios专用,跳转到授权界面
openBle() → void
openGps() → void
setCharacteristicNotification(String address, String serviceUuid, String uuid, bool enable) → void
startOta(String address, Uint8List data) → void
开始升级
startScan(int timeout) → void
开始扫描,超时时间
stopScan() → void
toString() String
A string representation of this object.
inherited
write(String address, String serviceUuid, String uuid, List<int> data) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited