TuyaSmartSingleTransfer Class Reference

Inherits from NSObject
Declared in TuyaSmartSingleTransfer.h

  delegate

@property (nonatomic, weak) id<TuyaSmartTransferDelegate> delegate

– startConnect

Start Connect 开始连接通道

- (void)startConnect

Discussion

Start Connect 开始连接通道

Declared In

TuyaSmartSingleTransfer.h

– isConnected

The connection state 通道连接状态

- (BOOL)isConnected

Return Value

Connection Result

Discussion

The connection state 通道连接状态

Declared In

TuyaSmartSingleTransfer.h

– close

Close 关闭通道 !!!(通道合并的缘故,将不会进行关闭,因为此操作会影响正常的设备订阅流程)

- (void)close

Discussion

Close 关闭通道 !!!(通道合并的缘故,将不会进行关闭,因为此操作会影响正常的设备订阅流程)

Declared In

TuyaSmartSingleTransfer.h

– subscribeDeviceWithDevId:

Subscribe device 订阅设备

- (void)subscribeDeviceWithDevId:(NSString *)devId

Parameters

devId

Device Id

Discussion

Subscribe device 订阅设备

Declared In

TuyaSmartSingleTransfer.h

– unsubscribeDeviceWithDevId:

Unsubscribe device 取消订阅设备

- (void)unsubscribeDeviceWithDevId:(NSString *)devId

Parameters

devId

Device Id

Discussion

Unsubscribe device 取消订阅设备

Declared In

TuyaSmartSingleTransfer.h