YaseePluginPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- YaseePluginPlatform
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → String
-
SDK 信息
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
String mac) → void - 绑定设备 (根据MAC)
-
cancel(
String mac) → void - 解绑&断开 (根据MAC)
-
checks(
String mac) → Future< List< CheckEntity> ?> - 获取设备的 检测项
-
cmds(
int handware) → Future< List< CmdEntity> ?> - 获取检测项的 指令列表
-
configBle(
Map< String, dynamic> bleConfig) → Future - 设置 蓝牙 配置信息
-
configDevices(
List devices) → Future - 初始化 设备列表
-
configUser(
int sex, int age, int smoking, int height, int weight) → Future - 设置 用户信息
-
getPlatformVersion(
) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scan(
) → Future - 搜索设备
-
send(
String mac, int handware, String cmdId, {Map< String, dynamic> ? obj}) → Future - 发送指令
-
stop(
) → Future - 停止搜索
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ YaseePluginPlatform
-
getter/setter pair