Tuya iOS Smart Life App SDK 5.15.0
<ThingSmartPegasusActivatorDelegate> Protocol Reference

#import <ThingSmartPegasusActivator.h>

Inheritance diagram for <ThingSmartPegasusActivatorDelegate>:

Instance Methods

(void) - pegasusActivator:serverDevice:didFoundDevice:error:
 
(void) - pegasusActivator:didReceiveDevice:error:
 
(void) - pegasusActivator:serverDevice:didFoundDevice:error:
 
(void) - pegasusActivator:didReceiveDevice:error:
 

Detailed Description

Definition at line 13 of file ThingSmartPegasusActivator.h.

Method Documentation

◆ pegasusActivator:didReceiveDevice:error: [1/2]

- (void) pegasusActivator: (ThingSmartPegasusActivator *)  activator
didReceiveDevice: (ThingSmartDeviceModel *)  deviceModel
error: (NSError *__nullable)  error 

Returns the devices that are active success or fail by Pegasus.

Parameters
activatorThe activator instance.
deviceModelThe device that is found by Pegasus.
errorAn error occurs while processing the request.

◆ pegasusActivator:didReceiveDevice:error: [2/2]

- (void) pegasusActivator: (ThingSmartPegasusActivator *)  activator
didReceiveDevice: (ThingSmartDeviceModel *)  deviceModel
error: (NSError *__nullable)  error 

Returns the devices that are active success or fail by Pegasus.

Parameters
activatorThe activator instance.
deviceModelThe device that is found by Pegasus.
errorAn error occurs while processing the request.

◆ pegasusActivator:serverDevice:didFoundDevice:error: [1/2]

- (void) pegasusActivator: (ThingSmartPegasusActivator *)  activator
serverDevice: (ThingSmartDeviceModel *)  serverDeviceModel
didFoundDevice: (ThingSmartDeviceModel *)  deviceModel
error: (NSError *__nullable)  error 

Returns the devices that are found by Pegasus.

Parameters
activatorThe activator instance.
serverDeviceModelThe device is found, but no device ID is available.
deviceModelThe device is found, but no device ID is available.
errorAn error occurs while processing the request.

◆ pegasusActivator:serverDevice:didFoundDevice:error: [2/2]

- (void) pegasusActivator: (ThingSmartPegasusActivator *)  activator
serverDevice: (ThingSmartDeviceModel *)  serverDeviceModel
didFoundDevice: (ThingSmartDeviceModel *)  deviceModel
error: (NSError *__nullable)  error 

Returns the devices that are found by Pegasus.

Parameters
activatorThe activator instance.
serverDeviceModelThe device is found, but no device ID is available.
deviceModelThe device is found, but no device ID is available.
errorAn error occurs while processing the request.

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