Yasee class

顶级控制类

Constructors

Yasee()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

info String
获取当前的 插件信息
no setter
notify Stream
获取全部的通知信息
no setter
notifyBindDevices Stream<NotifyDevicesEntity>
监听绑定设备变化
no setter
notifyBleState Stream<NotifyBleStateEntity>
监听设备蓝牙状态
no setter
notifyDeviceData Stream<NotifyDeviceDataEntity>
监听设备数据变化
no setter
notifySearchDevices Stream<NotifyDevicesEntity>
监听搜索设备变化
no setter

Static Methods

configBle({bool reconnect = true, int scanTime = 5}) → dynamic
Ble配置信息
configDevices(List devices) → dynamic
绑定列表初始化
configUser(int sex, int age, int smoking, int height, int weight) → dynamic
人员配置信息
scan() → dynamic
开始扫描 结果通过 Notify 发送通知
stop() → dynamic
结束扫描