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

Search Result Processing. More...

#import <ThingSmartActivatorDiscoverySerializer.h>

Inheritance diagram for <ThingSmartActivatorDiscoverySerializer>:
ThingSmartActivatorDiscoveryRawSerializer ThingSmartActivatorDiscoveryRawSerializer

Instance Methods

(BOOL) - isDeviceModelValid:
 
(nullable ThingSmartActivatorDeviceModel *) - handleDeviceModel:forDeviceList:
 
(BOOL) - isDeviceModelValid:
 
(nullable ThingSmartActivatorDeviceModel *) - handleDeviceModel:forDeviceList:
 

Detailed Description

Search Result Processing.

Definition at line 16 of file ThingSmartActivatorDiscoverySerializer.h.

Method Documentation

◆ handleDeviceModel:forDeviceList: [1/2]

- (nullable ThingSmartActivatorDeviceModel *) handleDeviceModel: (ThingSmartActivatorDeviceModel *)  model
forDeviceList: (NSArray< ThingSmartActivatorDeviceModel * > *)  list 
optional

Custom processing for search results.

Parameters
modelNewly found device in the search
listList of current devices found in the search
Returns
Return the processed device

◆ handleDeviceModel:forDeviceList: [2/2]

- (nullable ThingSmartActivatorDeviceModel *) handleDeviceModel: (ThingSmartActivatorDeviceModel *)  model
forDeviceList: (NSArray< ThingSmartActivatorDeviceModel * > *)  list 
optional

Custom processing for search results.

Parameters
modelNewly found device in the search
listList of current devices found in the search
Returns
Return the processed device

◆ isDeviceModelValid: [1/2]

- (BOOL) isDeviceModelValid: (ThingSmartActivatorDeviceModel *)  model
optional

Determine if a search result is valid for a device.

Parameters
modelSearch result

◆ isDeviceModelValid: [2/2]

- (BOOL) isDeviceModelValid: (ThingSmartActivatorDeviceModel *)  model
optional

Determine if a search result is valid for a device.

Parameters
modelSearch result

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