运行环境模块
此模块用于获取快应用运行容器的机型信息和唯一标识符。
API
DataStructure
ESRuntimeDeviceInfo
运行环境信息
| Name | Description | Type | Default |
|---|---|---|---|
| deviceId | 设备ID | string | - |
| deviceType | 设备类型 | string | - |
Exposes
| Name | Description | Type |
|---|---|---|
| getRuntimeDeviceInfo | 该方法获取运行环境信息 | Function |
| getRuntimeDeviceId | 该方法获取运行环境唯一标识符 | Function |
| getRuntimeDeviceType | 该方法获取运行环境类型 | Function |