Zepp OS 2.1 New Features
In Zepp OS 2.1, the highly requested community APIs for geolocation and barometric have been opened up and a number of bug fixes have been made to improve system stability. Here are the full updates to the JS API section.
- Geolocation
- Geolocation sensor for obtaining positioning information position
- Barometer
- Barometric sensor for acquiring height and air pressure
- BloodOxygen
- Add
start
method for blood oxygen sensor to enable blood oxygen measurement
- Add
- HeartRate
- Heart rate sensor support measurement
- Time
- Add
is24Hour
、format_hour
property,onPerMinute
、onPerDay
event
- Add
- setScrollMode
- Add scrolling mode
SCROLL_MODE_SWIPER_HORIZONTAL
,page support horizontal scrolling
- Add scrolling mode
- Add drop wrist screen off and pause palm screen off control API
- getSystemInfo
- For querying Zepp OS version, device firmware version, API_LEVEL version
- getTemperatureUnit
- Get temperature units
- getTimeFormat
- Get hour format