Tuya iOS Smart Life App SDK 5.15.0
ThingSmartDpParser Class Reference

Device or Group DP Schema Parser Tool. More...

#import <ThingSmartDpParser.h>

Inheritance diagram for ThingSmartDpParser:

Instance Methods

(nullable __kindof ThingSmartDp *) - smartDpWithDpId:quickOp:
 
(nullable __kindof ThingSmartDp *) - smartDpWithDpId:quickOp:
 
(nullable __kindof ThingSmartDp *) - smartDpWithDpId:quickOp:
 
(nullable __kindof ThingSmartDp *) - smartDpWithDpId:quickOp:
 

Class Methods

(instancetype) + createWithTargetInfo:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithDpDataSource:dps:quickOp:
 
(instancetype) + createWithTargetInfo:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithDpDataSource:dps:quickOp:
 
(instancetype) + createWithTargetInfo:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithDpDataSource:dps:quickOp:
 
(instancetype) + createWithTargetInfo:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithDpDataSource:dps:quickOp:
 

Properties

id< ThingSmartDpDataSourceProtocoldpDataSource
 DataSource. More...
 
NSArray< __kindof ThingSmartDp * > * displayDp
 Display DP of the current device (group) , quickOp property is 'NO'. More...
 
NSArray< __kindof ThingSmartDp * > * operableDp
 Operate DP of the current device (group), quickOp property is 'YES'. More...
 
NSArray< __kindof ThingSmartDp * > * allDp
 Get all DP of the current device (group), quickOp property is 'NO'. More...
 
ThingSmartSwitchDpswitchDp
 Switch DP of the current device (group) More...
 
NSArray< NSString * > * standardDpCodes
 

Detailed Description

Device or Group DP Schema Parser Tool.

Definition at line 29 of file ThingSmartDpParser.h.

Method Documentation

◆ createWithTargetInfo: [1/4]

+ (instancetype) createWithTargetInfo: (id)  targetInfo

Create SmartDpParser with device or group

◆ createWithTargetInfo: [2/4]

+ (instancetype) createWithTargetInfo: (id)  targetInfo

Create SmartDpParser with device or group

◆ createWithTargetInfo: [3/4]

+ (instancetype) createWithTargetInfo: (id)  targetInfo

Create SmartDpParser with device or group

◆ createWithTargetInfo: [4/4]

+ (instancetype) createWithTargetInfo: (id)  targetInfo

Create SmartDpParser with device or group

◆ smartDpListWithDpDataSource:dps:quickOp: [1/4]

+ (NSArray< __kindof ThingSmartDp * > *) smartDpListWithDpDataSource: (id< ThingSmartDpDataSourceProtocol >)  dpDataSource
dps: (NSArray< NSNumber * > *)  dps
quickOp: (BOOL)  quickOp 

◆ smartDpListWithDpDataSource:dps:quickOp: [2/4]

+ (NSArray< __kindof ThingSmartDp * > *) smartDpListWithDpDataSource: (id< ThingSmartDpDataSourceProtocol >)  dpDataSource
dps: (NSArray< NSNumber * > *)  dps
quickOp: (BOOL)  quickOp 

◆ smartDpListWithDpDataSource:dps:quickOp: [3/4]

+ (NSArray< __kindof ThingSmartDp * > *) smartDpListWithDpDataSource: (id< ThingSmartDpDataSourceProtocol >)  dpDataSource
dps: (NSArray< NSNumber * > *)  dps
quickOp: (BOOL)  quickOp 

◆ smartDpListWithDpDataSource:dps:quickOp: [4/4]

+ (NSArray< __kindof ThingSmartDp * > *) smartDpListWithDpDataSource: (id< ThingSmartDpDataSourceProtocol >)  dpDataSource
dps: (NSArray< NSNumber * > *)  dps
quickOp: (BOOL)  quickOp 

◆ smartDpWithDpId:quickOp: [1/4]

- (nullable __kindof ThingSmartDp *) smartDpWithDpId: (NSInteger)  dpId
quickOp: (BOOL)  quickOp 

◆ smartDpWithDpId:quickOp: [2/4]

- (nullable __kindof ThingSmartDp *) smartDpWithDpId: (NSInteger)  dpId
quickOp: (BOOL)  quickOp 

◆ smartDpWithDpId:quickOp: [3/4]

- (nullable __kindof ThingSmartDp *) smartDpWithDpId: (NSInteger)  dpId
quickOp: (BOOL)  quickOp 

◆ smartDpWithDpId:quickOp: [4/4]

- (nullable __kindof ThingSmartDp *) smartDpWithDpId: (NSInteger)  dpId
quickOp: (BOOL)  quickOp 

Property Documentation

◆ allDp

- (NSArray< __kindof ThingSmartDp * > *) allDp
readnonatomicstrong

Get all DP of the current device (group), quickOp property is 'NO'.

Definition at line 41 of file ThingSmartDpParser.h.

◆ displayDp

- (NSArray< __kindof ThingSmartDp * > *) displayDp
readnonatomicstrong

Display DP of the current device (group) , quickOp property is 'NO'.

Definition at line 37 of file ThingSmartDpParser.h.

◆ dpDataSource

- (id< ThingSmartDpDataSourceProtocol >) dpDataSource
readnonatomicstrong

DataSource.

Definition at line 34 of file ThingSmartDpParser.h.

◆ operableDp

- (NSArray< __kindof ThingSmartDp * > *) operableDp
readnonatomicstrong

Operate DP of the current device (group), quickOp property is 'YES'.

Definition at line 39 of file ThingSmartDpParser.h.

◆ standardDpCodes

- (NSArray< NSString * > *) standardDpCodes
readnonatomicstrong

Definition at line 44 of file ThingSmartDpParser.h.

◆ switchDp

- (ThingSmartSwitchDp *) switchDp
readnonatomicstrong

Switch DP of the current device (group)

Definition at line 43 of file ThingSmartDpParser.h.


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