当前位置:网站首页>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();}
边栏推荐
- 容器里用systemctl运行服务报错:Failed to get D-Bus connection: Operation not permitted(解决方法)
- OliveTin能在网页上安全运行shell命令(上)
- Kernel link script parsing
- QT中Model-View-Delegate委托代理机制用法介绍
- 10 advanced concepts that must be understood in learning SQL
- Optimization of middle alignment of loading style of device player in easycvr electronic map
- 李书福为何要亲自挂帅造手机?
- Spark accumulator and broadcast variables and beginners of sparksql
- Example of batch update statement combining update and inner join in SQL Server
- The art of Engineering (1): try to package things that do not need to be exposed
猜你喜欢
Pyspark operator processing spatial data full parsing (5): how to use spatial operation interface in pyspark
Wordcloud colormap color set and custom colors
[ASM] introduction and use of bytecode operation classwriter class
Cool Lehman has a variety of AI digital human images to create a vr virtual exhibition hall with a sense of technology
面试突击62:group by 有哪些注意事项?
kivy教程之在 Kivy 中支持中文以构建跨平台应用程序(教程含源码)
Summary of Android interview questions of Dachang in 2022 (II) (including answers)
Grafana 9 is officially released, which is easier to use and more cool!
Appium automated test scroll and drag_ and_ Drop slides according to element position
Establishment of graphical monitoring grafana
随机推荐
历史上的今天:Google 之母出生;同一天诞生的两位图灵奖先驱
Binary search strategy
scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
Pyspark operator processing spatial data full parsing (5): how to use spatial operation interface in pyspark
EasyCVR接入设备开启音频后,视频无法正常播放是什么原因?
MySQL 8 sub database and table backup database shell script
F200——搭载基于模型设计的国产开源飞控系统无人机
Unity tips - draw aiming Center
Nodejs 开发者路线图 2022 零基础学习指南
Xin'an Second Edition: Chapter 12 network security audit technology principle and application learning notes
FlutterWeb浏览器刷新后无法回退的解决方案
中移动、蚂蚁、顺丰、兴盛优选技术专家,带你了解架构稳定性保障
Smart street lamp based on stm32+ Huawei cloud IOT design
MarkDown语法——更好地写博客
The art of Engineering (3): do not rely on each other between functions of code robustness
Remote code execution penetration test - B module test
Run xv6 system
Summary of Android interview questions of Dachang in 2022 (II) (including answers)
The art of Engineering
[getting started with MySQL] fourth, explore operators in MySQL with Kiko