当前位置:网站首页>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();}
边栏推荐
- The art of Engineering (2): the transformation from general type to specific type needs to be tested for legitimacy
- Kernel link script parsing
- Xin'an Second Edition: Chapter 25 mobile application security requirements analysis and security protection engineering learning notes
- SAP UI5 框架的 manifest.json
- 《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
- 容器里用systemctl运行服务报错:Failed to get D-Bus connection: Operation not permitted(解决方法)
- [introduction to MySQL] the first sentence · first time in the "database" Mainland
- 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
- Pytorch extract middle layer features?
猜你喜欢

FlutterWeb瀏覽器刷新後無法回退的解决方案

78 year old professor Huake has been chasing dreams for 40 years, and the domestic database reaches dreams to sprint for IPO

【MySQL入门】第一话 · 初入“数据库”大陆

Olivetin can safely run shell commands on Web pages (Part 1)

2022年大厂Android面试题汇总(二)(含答案)

Interview shock 62: what are the precautions for group by?

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

Spark accumulator and broadcast variables and beginners of sparksql

Smart street lamp based on stm32+ Huawei cloud IOT design

Pourquoi Li shufu a - t - il construit son téléphone portable?
随机推荐
How to output special symbols in shell
Example of batch update statement combining update and inner join in SQL Server
李书福为何要亲自挂帅造手机?
Xin'an Second Edition: Chapter 12 network security audit technology principle and application learning notes
Today in history: the mother of Google was born; Two Turing Award pioneers born on the same day
重磅!蚂蚁开源可信隐私计算框架“隐语”,主流技术灵活组装、开发者友好分层设计...
重磅硬核 | 一文聊透对象在 JVM 中的内存布局,以及内存对齐和压缩指针的原理及应用
Getting started with pytest ----- test case rules
Debug and run the first xv6 program
Compile and build, from the bottom to the top
Wechat applet obtains mobile number
容器里用systemctl运行服务报错:Failed to get D-Bus connection: Operation not permitted(解决方法)
开源与安全的“冰与火之歌”
kivy教程之在 Kivy 中支持中文以构建跨平台应用程序(教程含源码)
EasyCVR平台通过接口编辑通道出现报错“ID不能为空”,是什么原因?
Manifest of SAP ui5 framework json
Awk command exercise
Heavy! Ant open source trusted privacy computing framework "argot", flexible assembly of mainstream technologies, developer friendly layered design
The solution that flutterweb browser cannot be rolled back after refreshing
HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅