当前位置:网站首页>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();}
边栏推荐
- Xin'an Second Edition; Chapter 11 learning notes on the principle and application of network physical isolation technology
- Is it meaningful for 8-bit MCU to run RTOS?
- 基于STM32+华为云IOT设计的智能路灯
- What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
- Getting started with pytest ----- test case rules
- Single responsibility principle
- Flet教程之 13 ListView最常用的滚动控件 基础入门(教程含源码)
- BearPi-HM_ Nano development board "flower protector" case
- 【MySQL入门】第一话 · 初入“数据库”大陆
- Remote code execution penetration test - B module test
猜你喜欢
scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
Why should Li Shufu personally take charge of building mobile phones?
Getting started with pytest ----- test case rules
RepPoints:可形变卷积的进阶
node の SQLite
After entering Alibaba for the interview and returning with a salary of 35K, I summarized an interview question of Alibaba test engineer
Unity tips - draw aiming Center
Chrome prompts the solution of "your company management" (the startup page is bound to the company's official website and cannot be modified)
1700C - Helping the Nature
The easycvr platform reports an error "ID cannot be empty" through the interface editing channel. What is the reason?
随机推荐
78 year old professor Huake has been chasing dreams for 40 years, and the domestic database reaches dreams to sprint for IPO
Example of batch update statement combining update and inner join in SQL Server
Alibaba brand data bank: introduction to the most complete data bank
[elastic] elastic lacks xpack and cannot create template unknown setting index lifecycle. name index. lifecycle. rollover_ alias
Wordcloud colormap color set and custom colors
HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅
How to use scroll bars to dynamically adjust parameters in opencv
OpenCV中如何使用滚动条动态调整参数
Unity粒子特效系列-闪星星的宝箱
Pytest learning ----- detailed explanation of the request for interface automation test
Zen integration nails, bugs, needs, etc. are reminded by nails
FMT开源自驾仪 | FMT中间件:一种高实时的分布式日志模块Mlog
10 advanced concepts that must be understood in learning SQL
李书福为何要亲自挂帅造手机?
远程代码执行渗透测试——B模块测试
[introduction to MySQL] third, common data types in MySQL
OliveTin能在网页上安全运行shell命令(上)
面试突击62:group by 有哪些注意事项?
Pytest learning ----- pytest confitest of interface automation test Py file details
After entering Alibaba for the interview and returning with a salary of 35K, I summarized an interview question of Alibaba test engineer