From d6d9a09d505d11148599a95a5be3e1351edbe0ac Mon Sep 17 00:00:00 2001 From: hc Date: Mon, 13 Apr 2026 15:17:52 +0800 Subject: Local iHealth SDK, device detail screen, iOS event fixes --- .../Headers/DFUServerFirmwareInfo.h | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h') diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h new file mode 100644 index 0000000..c3fa2af --- /dev/null +++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h @@ -0,0 +1,48 @@ +// +// DFUServerFirmwareInfo.h +// iHealthSDKStatic +// +// Created by Lei Bao on 2017/7/17. +// Copyright © 2017年 daiqingquan. All rights reserved. +// + +#import +#import "DFUMacro.h" + +/** + Firmware information from server + */ +@interface DFUServerFirmwareInfo : NSObject + +/** + DFUDeviceType + */ +@property (assign, nonatomic, readonly) DFUDeviceType deviceType; + +/** + The latest firmware version (0.0.0 or 0.0.0.0 means no firmware in server, you should check your query input parameters) + */ +@property (copy, nonatomic, readonly) NSString *latestFirmwareVersion; + +/** + YES means mandtory + */ +@property (assign, nonatomic, readonly) BOOL isMandtoryUpgrade; + +/** + Description + */ +@property (copy, nonatomic, readonly) NSString *updateDescription; + +/** + Images before updating + */ +@property (copy, nonatomic, readonly) NSArray *beforeImages; + +/** + Image after updating + */ +@property (copy, nonatomic, readonly) NSArray *afterImages; + ++ (instancetype)infoWithDeviceType:(DFUDeviceType)deviceType dic:(NSDictionary *)dic; +@end -- cgit