diff options
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.h | 48 |
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 | ||
