Tuya iOS Smart Life App SDK 5.15.0
ThingSmartPerformanceGatewayService Class Reference

#import <ThingSmartPerformanceGatewayService.h>

Inheritance diagram for ThingSmartPerformanceGatewayService:

Instance Methods

(void) - gatewayPropertyGatewayIDList:success:failure:
 
(typedef) - NS_ENUM
 
(void) - fetchMiniAppURLWithSuccess:failure:
 
(typedef) - NS_ENUM
 
(void) - autoBindingGateway:subDeviceIDList:success:failure:
 
(void) - gatewayPropertyGatewayIDList:success:failure:
 
(typedef) - NS_ENUM
 
(void) - fetchMiniAppURLWithSuccess:failure:
 
(typedef) - NS_ENUM
 
(void) - autoBindingGateway:subDeviceIDList:success:failure:
 

Protected Member Functions

(typedef) - NS_ENUM
 
(typedef) - NS_ENUM
 

Protected Attributes

elements
 

Detailed Description

Definition at line 31 of file ThingSmartPerformanceGatewayService.h.

Method Documentation

◆ autoBindingGateway:subDeviceIDList:success:failure: [1/2]

- (void) autoBindingGateway: (ThingSmartPerformanceGatewayProperty *)  gatewayProperty
subDeviceIDList: (NSArray< NSString * > *)  subDeviceIDList
success: (ThingSuccessBOOL __nullable)  success
failure: (ThingFailureError __nullable)  failure 

自动绑定网关与子设备

  • Parameters:
    • gatewayProperty: 网关属性,仅支持处于在线状态的 SigMesh、Beacon 网关
    • subDeviceIDList: 子设备id,
    • success: 绑定成功,网关能够绑定的子设备数是有数量限制的,只有网关能够绑定的剩余数量不小于待绑定的子设备个数才能成功
    • failure: 本地错误类型见 ThingSmartPerformanceGatewayAutoBindingErrorCodeParserError,后端错误参考后端文档

◆ autoBindingGateway:subDeviceIDList:success:failure: [2/2]

- (void) autoBindingGateway: (ThingSmartPerformanceGatewayProperty *)  gatewayProperty
subDeviceIDList: (NSArray< NSString * > *)  subDeviceIDList
success: (ThingSuccessBOOL __nullable)  success
failure: (ThingFailureError __nullable)  failure 

自动绑定网关与子设备

  • Parameters:
    • gatewayProperty: 网关属性,仅支持处于在线状态的 SigMesh、Beacon 网关
    • subDeviceIDList: 子设备id,
    • success: 绑定成功,网关能够绑定的子设备数是有数量限制的,只有网关能够绑定的剩余数量不小于待绑定的子设备个数才能成功
    • failure: 本地错误类型见 ThingSmartPerformanceGatewayAutoBindingErrorCodeParserError,后端错误参考后端文档

◆ fetchMiniAppURLWithSuccess:failure: [1/2]

- (void) fetchMiniAppURLWithSuccess: (ThingSuccessString __nullable)  success
failure: (ThingFailureError __nullable)  failure 

获取多网关配置面板 URL

  • Parameters:
    • success: 可能结果为空
    • failure: 错误类型见 ThingSmartPerformanceGatewayMiniAppURLErrorCode,后端错误参考后端文档

◆ fetchMiniAppURLWithSuccess:failure: [2/2]

- (void) fetchMiniAppURLWithSuccess: (ThingSuccessString __nullable)  success
failure: (ThingFailureError __nullable)  failure 

获取多网关配置面板 URL

  • Parameters:
    • success: 可能结果为空
    • failure: 错误类型见 ThingSmartPerformanceGatewayMiniAppURLErrorCode,后端错误参考后端文档

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

- (void) gatewayPropertyGatewayIDList: (NSArray< NSString * > *)  gatewayIDList
success: (ThingSmartPerformanceGatewayPropertySuccess __nullable)  success
failure: (ThingFailureError __nullable)  failure 

获取网关属性

  • Parameters:
    • gatewayIDList: 网关id,仅支持处于在线状态的 SigMesh、Beacon 网关
    • success: 可能结果为空
    • failure: 本地错误类型见 ThingSmartPerformanceGatewayServiceErrorCode,后端错误参考后端文档

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

- (void) gatewayPropertyGatewayIDList: (NSArray< NSString * > *)  gatewayIDList
success: (ThingSmartPerformanceGatewayPropertySuccess __nullable)  success
failure: (ThingFailureError __nullable)  failure 

获取网关属性

  • Parameters:
    • gatewayIDList: 网关id,仅支持处于在线状态的 SigMesh、Beacon 网关
    • success: 可能结果为空
    • failure: 本地错误类型见 ThingSmartPerformanceGatewayServiceErrorCode,后端错误参考后端文档

◆ NS_ENUM [1/6]

- (typedef) NS_ENUM (NSInteger) 
(ThingSmartPerformanceGatewayAutoBindingErrorCode)   

Definition at line 62 of file ThingSmartPerformanceGatewayService.h.

◆ NS_ENUM [2/6]

- (typedef) NS_ENUM (NSInteger) 
(ThingSmartPerformanceGatewayAutoBindingErrorCode)   

Definition at line 62 of file ThingSmartPerformanceGatewayService.h.

◆ NS_ENUM [3/6]

- (typedef) NS_ENUM (NSInteger) 
(ThingSmartPerformanceGatewayMiniAppURLErrorCode)   

Definition at line 50 of file ThingSmartPerformanceGatewayService.h.

◆ NS_ENUM [4/6]

- (typedef) NS_ENUM (NSInteger) 
(ThingSmartPerformanceGatewayMiniAppURLErrorCode)   

Definition at line 50 of file ThingSmartPerformanceGatewayService.h.

◆ NS_ENUM [5/6]

- (typedef) NS_ENUM (NSInteger) 
(ThingSmartPerformanceGatewayPropertyErrorCode)   

Definition at line 35 of file ThingSmartPerformanceGatewayService.h.

◆ NS_ENUM [6/6]

- (typedef) NS_ENUM (NSInteger) 
(ThingSmartPerformanceGatewayPropertyErrorCode)   

Definition at line 35 of file ThingSmartPerformanceGatewayService.h.

Member Data Documentation

◆ elements

- * elements
protected

Definition at line 34 of file ThingSmartPerformanceGatewayService.h.


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