Blame view

HDFwear/3rd/RTKOTASDK/RTKOTASDK.framework/Headers/RTKAccessoryOTAUpgrade.h 1.01 KB
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
41
42
43
44
45
46
  //
  //  RTKAccessoryOTAUpgrade.h
  //  RTKOTASDK
  //
  //  Created by jerome_gu on 2020/3/10.
  //  Copyright © 2020 jerome_gu. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  
  #ifdef RTK_SDK_IS_STATIC_LIBRARY
  #import "libRTKLEFoundation.h"
  #import "RTKOTAUpgrade.h"
  #else
  #import <RTKLEFoundation/RTKLEFoundation.h>
  #import <RTKOTASDK/RTKOTAUpgrade.h>
  #endif
  
  
  NS_ASSUME_NONNULL_BEGIN
  
  /**
   * A concrete RTKOTAUpgrade class which is responsible for upgrade a iAP accessory.
   */
  @interface RTKAccessoryOTAUpgrade : RTKOTAUpgrade
  
  /**
   * Initialize using a accessory.
   */
  - (instancetype)initWithAccessory:(RTKAccessory *)accessory; // not support current
  
  
  /**
   * The associated accessory to upgrade.
   */
  @property (readonly) RTKAccessory *accessory;
  
  /**
   * Initialize with a exist BBpro message communication.
   */
  - (instancetype)initWithBBproMessageCommunication:(RTKPackageCommunication *)communication accessory:(RTKAccessory *)accessory;
  @property (readonly) RTKPackageCommunication *communication;
  
  @end
  
  NS_ASSUME_NONNULL_END