getSystemInfo
Start from API_LEVEL
2.1
. Please refer to API_LEVEL.
Get system related information.
Type
function getSystemInfo(): Result
Parameters
Result
Property | Type | Description | API_LEVEL |
---|---|---|---|
osVersion | string | Zepp OS System Version | 2.1 |
firmwareVersion | string | Device firmware version | 2.1 |
minAPI | string | API_LEVEL | 2.1 |
Example
import { getSystemInfo } from '@zos/settings'
const { minAPI } = getSystemInfo()
console.log(minAPI)