当前位置:网站首页>Jerry's watch reading setting status [chapter]
Jerry's watch reading setting status [chapter]
2022-07-06 17:54:00 【Rambo-Lamborghini】
Read setting status //WatchManager yes WatchOpImpl Subclasses of , Must be in 1.3 Good configuration sdkWatchManagerwatchManager=WatchManager.getInstance();// Initialize health function implementation HealthOpImplhealthOp=newHealthOpImpl(watchManager);// register RCSP Event listener healthOp.getRcsoOp().registerOnRcspEventListener(newOnRcspEventListener(){@OverridepublicvoidonHealthSettingChange(BluetoothDevicedevice,HealthSettingInfohealthSettingInfo){// The health setting information will be recalled here SensorInfosensorInfo=healthSettingInfo.getSensorInfo();// Sensor setting switch UserInfouserInfo=healthSettingInfo.getUserInfo();// Personal information DisconnectReminderdisconnectReminder=healthSettingInfo.getDisconnectReminder();// Bluetooth disconnect reminder LiftWristDetectionliftWristDetection=healthSettingInfo.getLiftWristDetection();// Wrist lift detection FallDetectionfallDetection=healthSettingInfo.getFallDetection();// Fall detection HeartRateMeasureheartRateMeasure=healthSettingInfo.getHeartRateMeasure();// Continuous measurement of heart rate SleepDetectionsleepDetection=healthSettingInfo.getSleepDetection();// Sleep detection SedentaryRemindersedentaryReminder=healthSettingInfo.getSedentaryReminder();// Sit long to remind // Exercise heart rate measurement ExerciseHeartRateReminderexerciseHeartRateReminder=healthSettingInfo.getExerciseHeartRateReminder();// Automatic pressure detection AutomaticPressureDetectionautomaticPressureDetection=healthSettingInfo.getAutomaticPressureDetection();}
边栏推荐
- node の SQLite
- Pourquoi Li shufu a - t - il construit son téléphone portable?
- Shell input a string of numbers to determine whether it is a mobile phone number
- Pytest learning ----- detailed explanation of the request for interface automation test
- QT中Model-View-Delegate委托代理机制用法介绍
- The art of Engineering (3): do not rely on each other between functions of code robustness
- MarkDown语法——更好地写博客
- VR panoramic wedding helps couples record romantic and beautiful scenes
- How to use scroll bars to dynamically adjust parameters in opencv
- Compile and build, from the bottom to the top
猜你喜欢

Kivy tutorial: support Chinese in Kivy to build cross platform applications (tutorial includes source code)

Today in history: the mother of Google was born; Two Turing Award pioneers born on the same day

Open source and safe "song of ice and fire"

node の SQLite

Summary of Android interview questions of Dachang in 2022 (I) (including answers)

SQL statement optimization, order by desc speed optimization

在一台服务器上部署多个EasyCVR出现报错“Press any to exit”,如何解决?

Pytorch extract middle layer features?

Getting started with pytest ----- test case pre post, firmware

Chrome prompts the solution of "your company management" (the startup page is bound to the company's official website and cannot be modified)
随机推荐
There is a gap in traditional home decoration. VR panoramic home decoration allows you to experience the completion effect of your new house
趣-关于undefined的问题
sql语句优化,order by desc速度优化
FMT开源自驾仪 | FMT中间件:一种高实时的分布式日志模块Mlog
Wechat applet obtains mobile number
SQL statement optimization, order by desc speed optimization
8位MCU跑RTOS有没有意义?
The solution that flutterweb browser cannot be rolled back after refreshing
Compile and build, from the bottom to the top
Nodejs 开发者路线图 2022 零基础学习指南
Growth of operation and maintenance Xiaobai - week 7
Guidelines for preparing for the 2022 soft exam information security engineer exam
开源与安全的“冰与火之歌”
容器里用systemctl运行服务报错:Failed to get D-Bus connection: Operation not permitted(解决方法)
Hongmeng introduction and development environment construction
Getting started with pytest ----- allow generate report
Video fusion cloud platform easycvr adds multi-level grouping, which can flexibly manage access devices
[elastic] elastic lacks xpack and cannot create template unknown setting index lifecycle. name index. lifecycle. rollover_ alias
EasyCVR授权到期页面无法登录,该如何解决?
视频融合云平台EasyCVR增加多级分组,可灵活管理接入设备