Tuya iOS Smart Life App SDK 5.15.0
ThingUpgradeManager Class Reference

#import <ThingUpgradeManager.h>

Inheritance diagram for ThingUpgradeManager:

Instance Methods

(instancetype) - initWithDeviceId:
 
(BOOL) - supportUpgrade
 
(void) - getUpgradeInfoWithSuccess:failure:
 
(void) - getUpgradeStatusWithSuccess:failure:
 
(void) - startUpgrade:
 
(void) - stopUpgrade
 
(instancetype) - initWithDeviceId:
 
(BOOL) - supportUpgrade
 
(void) - getUpgradeInfoWithSuccess:failure:
 
(void) - getUpgradeStatusWithSuccess:failure:
 
(void) - startUpgrade:
 
(void) - stopUpgrade
 

Class Methods

(BOOL) + deviceSupportUpgrade:
 
(void) + getUpgradeInfoWithDeviceId:success:failure:
 
(void) + getUpgradeStatusWithDeviceId:success:failure:
 
(BOOL) + deviceSupportUpgrade:
 
(void) + getUpgradeInfoWithDeviceId:success:failure:
 
(void) + getUpgradeStatusWithDeviceId:success:failure:
 

Properties

NSString * deviceId
 
id< ThingUpgradeManagerListenerlistener
 

Detailed Description

Definition at line 21 of file ThingUpgradeManager.h.

Method Documentation

◆ deviceSupportUpgrade: [1/2]

+ (BOOL) deviceSupportUpgrade: (NSString *)  deviceId

◆ deviceSupportUpgrade: [2/2]

+ (BOOL) deviceSupportUpgrade: (NSString *)  deviceId

◆ getUpgradeInfoWithDeviceId:success:failure: [1/2]

+ (void) getUpgradeInfoWithDeviceId: (NSString *)  deviceId
success: (void(^)(ThingUpgradeInfo *info))  success
failure: (void(^)(NSError *error))  failure 

◆ getUpgradeInfoWithDeviceId:success:failure: [2/2]

+ (void) getUpgradeInfoWithDeviceId: (NSString *)  deviceId
success: (void(^)(ThingUpgradeInfo *info))  success
failure: (void(^)(NSError *error))  failure 

◆ getUpgradeInfoWithSuccess:failure: [1/2]

- (void) getUpgradeInfoWithSuccess: (void(^)(ThingUpgradeInfo *info))  success
failure: (void(^)(NSError *error))  failure 

◆ getUpgradeInfoWithSuccess:failure: [2/2]

- (void) getUpgradeInfoWithSuccess: (void(^)(ThingUpgradeInfo *info))  success
failure: (void(^)(NSError *error))  failure 

◆ getUpgradeStatusWithDeviceId:success:failure: [1/2]

+ (void) getUpgradeStatusWithDeviceId: (NSString *)  deviceId
success: (void(^)(ThingSmartFirmwareUpgradeStatusModel *status))  success
failure: (void(^)(NSError *error))  failure 

◆ getUpgradeStatusWithDeviceId:success:failure: [2/2]

+ (void) getUpgradeStatusWithDeviceId: (NSString *)  deviceId
success: (void(^)(ThingSmartFirmwareUpgradeStatusModel *status))  success
failure: (void(^)(NSError *error))  failure 

◆ getUpgradeStatusWithSuccess:failure: [1/2]

- (void) getUpgradeStatusWithSuccess: (void(^)(ThingSmartFirmwareUpgradeStatusModel *status))  success
failure: (void(^)(NSError *error))  failure 

◆ getUpgradeStatusWithSuccess:failure: [2/2]

- (void) getUpgradeStatusWithSuccess: (void(^)(ThingSmartFirmwareUpgradeStatusModel *status))  success
failure: (void(^)(NSError *error))  failure 

◆ initWithDeviceId: [1/2]

- (instancetype) initWithDeviceId: (NSString *)  deviceId

◆ initWithDeviceId: [2/2]

- (instancetype) initWithDeviceId: (NSString *)  deviceId

◆ startUpgrade: [1/2]

- (void) startUpgrade: (ThingUpgradeInfo *)  info

◆ startUpgrade: [2/2]

- (void) startUpgrade: (ThingUpgradeInfo *)  info

◆ stopUpgrade [1/2]

- (void) stopUpgrade

◆ stopUpgrade [2/2]

- (void) stopUpgrade

◆ supportUpgrade [1/2]

- (BOOL) supportUpgrade

◆ supportUpgrade [2/2]

- (BOOL) supportUpgrade

Property Documentation

◆ deviceId

- (NSString *) deviceId
readnonatomicassign

Definition at line 23 of file ThingUpgradeManager.h.

◆ listener

- (id< ThingUpgradeManagerListener >) listener
readwritenonatomicweak

Definition at line 24 of file ThingUpgradeManager.h.


The documentation for this class was generated from the following files: