MethodChannelYaseePlugin class

Inheritance

Constructors

MethodChannelYaseePlugin()

Properties

bs Stream
latefinal
eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
info String
SDK 信息
no setteroverride
methodChannel MethodChannel
final
notify Stream
所有的通知内容, 可以多发监听
no setteroverride
notifyBindDevices Stream<NotifyDevicesEntity>
绑定列表变化
no setteroverride
notifyBleState Stream<NotifyBleStateEntity>
蓝牙状态变化更新
no setteroverride
notifyDeviceData Stream<NotifyDeviceDataEntity>
设备交互数据
no setteroverride
notifySearchDevices Stream<NotifyDevicesEntity>
搜索设备数据
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(String mac) → void
绑定设备 (根据MAC)
override
cancel(String mac) → void
解绑&断开 (根据MAC)
override
checks(String mac) Future<List<CheckEntity>?>
获取设备的 检测项
override
cmds(int handware) Future<List<CmdEntity>?>
获取检测项的 指令列表
override
configBle(Map<String, dynamic> bleConfig) Future
设置 蓝牙 配置信息
override
configDevices(List devices) Future
初始化 设备列表
override
configUser(int sex, int age, int smoking, int height, int weight) Future
设置 用户信息
override
getPlatformVersion() Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scan() Future
搜索设备
override
send(String mac, int handware, String cmdId, {Map<String, dynamic>? obj}) Future
发送指令
override
stop() Future
停止搜索
override
toString() String
A string representation of this object.
inherited

Operators

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