<option name="priority" value="Medium" />
<option name="excludeFilter" value="" />
</component>
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":63,"versionName":"202101151445","enabled":true,"outputFile":"ICL02Blood_V63_202101151445_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V63_202101151445_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":64,"versionName":"202101181017","enabled":true,"outputFile":"ICL02Blood_V64_202101181017_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V64_202101181017_release.apk","properties":{}}]
\ No newline at end of file
interface IHeartRateSensorCallback {
//获取到了数据,最终数据
- void onHeartRateGet(in HeartRate heartRate);
+ oneway void onHeartRateGet(in HeartRate heartRate);
//数据更新中
- void onHeartRateUpdate(in HeartRate heartRate);
+ oneway void onHeartRateUpdate(in HeartRate heartRate);
//正在获取数据
- void onGettingData();
+ oneway void onGettingData();
//等待中
- void onWaiting();
+ oneway void onWaiting();
}
\ No newline at end of file
//取消接口注册
void unRegisterCallback(in IHeartRateSensorCallback callback);
//获取心率相关数据0表示Alarm,1表示客户端用户发出的,3表示服务端发出的单次获取指令
- void getHeartRateInfo(int from,in String callbackTag);
+ oneway void getHeartRateInfo(int from,in String callbackTag);
}
\ No newline at end of file
if (mService != null) {
mObsStateTips.postValue(mContext.getString(R.string.tips_ing_check));
//处理UI变化
- new Thread(() -> {
- try {
- /**
- * SERVER_CMD(0)服务端单次测量指令,
- * ALARM_CMD(1)定时的测试指,
- * CLIENT_CMD(2)用户UI主动的指令;
- */
- mService.getHeartRateInfo(2, BloodPresenter.class.getName());
- } catch (
- Exception e) {
- IcLog.e(TAG, "startCheckBlood", e);
- }
- }).start();
+ try {
+ /**
+ * SERVER_CMD(0)服务端单次测量指令,
+ * ALARM_CMD(1)定时的测试指,
+ * CLIENT_CMD(2)用户UI主动的指令;
+ */
+ mService.getHeartRateInfo(2, BloodPresenter.class.getName());
+ } catch (Exception e) {
+ IcLog.e(TAG, "startCheckBlood", e);
+ }
}
}
-#Fri Jan 15 14:45:50 CST 2021
-VERSION_CODE=63
+#Mon Jan 18 10:17:04 CST 2021
+VERSION_CODE=64