Module: miot

米家ReactNative插件SDK

Example
import {API_LEVEL, Package, Device, Service, Host, Resources, Bluetooth, DeviceProperties} from 'miot'
import {PackageEvent, DeviceEvent, BluetoothEvent} from 'miot'
import SDK from 'miot'

import {ImageButton, InputDialog} from 'miot/ui'
import Res from 'miot/resources'

import Bluetooth from 'miot/Bluetooth'

Members

(static, constant) API_LEVEL :int

MIOT SDK 版本

(static, constant) Bluetooth

(static, constant) BluetoothEvent

(static, constant) ClassicBluetooth

(static, constant) ClassicBluetoothEvent

(static, constant) Device :IDevice

当前设备 module:miot/Device

(static, constant) DeviceEvent

设备系统事件 module:miot/Device~DeviceEvent

(static, constant) DeviceProperties :IProperties

当前设备属性缓存 module:miot/Properties

(static, constant) Entrance

插件入口类型 module:miot/Package~Entrance

(static, constant) Host

插件运行环境的本地服务 module:miot/Host

(static, constant) Package

插件包基本配置 module:miot/Package

(static, constant) PackageEvent

(static, constant) Resources

(static, constant) SceneType

(static, constant) Service

MIOT 提供的云服务 module:miot/Service