summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h
diff options
context:
space:
mode:
authorhc <haocheng.xie@respiree.com>2026-04-13 15:17:52 +0800
committerhc <haocheng.xie@respiree.com>2026-04-13 15:17:52 +0800
commitd6d9a09d505d11148599a95a5be3e1351edbe0ac (patch)
treea5f5891983d1ff207e99f683a5e151519cef4980 /libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h
parente4fb9966e762852bf17f21c8406501d42fae0b61 (diff)
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h')
-rw-r--r--libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/DFUServerFirmwareInfo.h48
1 files changed, 48 insertions, 0 deletions
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 @@
1//
2// DFUServerFirmwareInfo.h
3// iHealthSDKStatic
4//
5// Created by Lei Bao on 2017/7/17.
6// Copyright © 2017年 daiqingquan. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "DFUMacro.h"
11
12/**
13 Firmware information from server
14 */
15@interface DFUServerFirmwareInfo : NSObject
16
17/**
18 DFUDeviceType
19 */
20@property (assign, nonatomic, readonly) DFUDeviceType deviceType;
21
22/**
23 The latest firmware version (0.0.0 or 0.0.0.0 means no firmware in server, you should check your query input parameters)
24 */
25@property (copy, nonatomic, readonly) NSString *latestFirmwareVersion;
26
27/**
28 YES means mandtory
29 */
30@property (assign, nonatomic, readonly) BOOL isMandtoryUpgrade;
31
32/**
33 Description
34 */
35@property (copy, nonatomic, readonly) NSString *updateDescription;
36
37/**
38 Images before updating
39 */
40@property (copy, nonatomic, readonly) NSArray *beforeImages;
41
42/**
43 Image after updating
44 */
45@property (copy, nonatomic, readonly) NSArray *afterImages;
46
47+ (instancetype)infoWithDeviceType:(DFUDeviceType)deviceType dic:(NSDictionary *)dic;
48@end