当前位置:网站首页>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();}
边栏推荐
- 历史上的今天:Google 之母出生;同一天诞生的两位图灵奖先驱
- Xin'an Second Edition; Chapter 11 learning notes on the principle and application of network physical isolation technology
- After entering Alibaba for the interview and returning with a salary of 35K, I summarized an interview question of Alibaba test engineer
- Distinguish between basic disk and dynamic disk RAID disk redundant array
- Remote code execution penetration test - B module test
- EasyCVR授权到期页面无法登录,该如何解决?
- The art of Engineering (2): the transformation from general type to specific type needs to be tested for legitimacy
- 开源与安全的“冰与火之歌”
- Reppoints: advanced order of deformable convolution
- FMT开源自驾仪 | FMT中间件:一种高实时的分布式日志模块Mlog
猜你喜欢
[ASM] introduction and use of bytecode operation classwriter class
重磅!蚂蚁开源可信隐私计算框架“隐语”,主流技术灵活组装、开发者友好分层设计...
[getting started with MySQL] fourth, explore operators in MySQL with Kiko
FlutterWeb瀏覽器刷新後無法回退的解决方案
Grafana 9 is officially released, which is easier to use and more cool!
基本磁盘与动态磁盘 RAID磁盘冗余阵列区分
Sqoop I have everything you want
Distributed (consistency protocol) leader election (dotnext.net.cluster implements raft election)
Olivetin can safely run shell commands on Web pages (Part 1)
The solution that flutterweb browser cannot be rolled back after refreshing
随机推荐
Distinguish between basic disk and dynamic disk RAID disk redundant array
The easycvr authorization expiration page cannot be logged in. How to solve it?
C语言指针*p++、*(p++)、*++p、*(++p)、(*p)++、++(*p)对比实例
How to solve the error "press any to exit" when deploying multiple easycvr on one server?
The integrated real-time HTAP database stonedb, how to replace MySQL and achieve nearly a hundredfold performance improvement
How to output special symbols in shell
PyTorch 提取中间层特征?
【MySQL入门】第一话 · 初入“数据库”大陆
Unity particle special effects series - treasure chest of shining stars
BearPi-HM_ Nano development environment
Quick start of Hongmeng system
Smart street lamp based on stm32+ Huawei cloud IOT design
Summary of Android interview questions of Dachang in 2022 (II) (including answers)
Pytorch extract middle layer features?
Codeforces Round #803 (Div. 2)
After entering Alibaba for the interview and returning with a salary of 35K, I summarized an interview question of Alibaba test engineer
Debug and run the first xv6 program
The art of Engineering (1): try to package things that do not need to be exposed
Selected technical experts from China Mobile, ant, SF, and Xingsheng will show you the guarantee of architecture stability
1700C - Helping the Nature