blob: c3fa2af9d8e6cd0a2d66860bd4f1c0011ad13751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
//
// DFUServerFirmwareInfo.h
// iHealthSDKStatic
//
// Created by Lei Bao on 2017/7/17.
// Copyright © 2017年 daiqingquan. All rights reserved.
//
#import <Foundation/Foundation.h>
#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
|