Blame view

HDFwear/3rd/RTKOTASDK/RTKOTASDK.framework/Headers/RTKOTAInstalledBin.h 814 Bytes
75d24c15   yangbin   123
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
  //
  //  RTKOTAInstalledBin.h
  //  RTKLEFoundation
  //
  //  Created by jerome_gu on 2020/5/25.
  //  Copyright © 2020 jerome_gu. All rights reserved.
  //
  
  #ifdef RTK_SDK_IS_STATIC_LIBRARY
  #import "RTKOTABin.h"
  #else
  #import <RTKOTASDK/RTKOTABin.h>
  #endif
  
  
  typedef NS_ENUM(NSUInteger, RTKOTABinBankInfo) {
      RTKOTABinBankInfo_Unknown,
      RTKOTABinBankInfo_Bank0,
      RTKOTABinBankInfo_Bank1,
      RTKOTABinBankInfo_Standalone,
  };
  
  NS_ASSUME_NONNULL_BEGIN
  
  @interface RTKOTAInstalledBin : RTKOTABin
  
  /**
   * Which bank this image installed in, or should be upgraded in.
   */
  @property (readonly) RTKOTABinBankInfo bankState;
  
  /**
   * The maximum length of thie image section in SOC.
   * @discussion When 0 is returned, section size is undefined.
   */
  @property (readonly) NSUInteger sectionSize;
  
  @end
  
  NS_ASSUME_NONNULL_END