Tuya iOS Smart Life App SDK 5.15.0
ThingSmartLightDp Class Reference

#import <ThingSmartDpParser.h>

Inheritance diagram for ThingSmartLightDp:
ThingSmartDp ThingSmartDp ThingSmartDp ThingSmartDp

Instance Methods

(NSString *) - lightHueDsecLocalizedKey:
 
(nullable NSDictionary *) - publishCommandsWithLightHue:lightSaturation:lightValue:
 
(NSString *) - lightHueDsecLocalizedKey:
 
(nullable NSDictionary *) - publishCommandsWithLightHue:lightSaturation:lightValue:
 
(NSString *) - lightHueDsecLocalizedKey:
 
(nullable NSDictionary *) - publishCommandsWithLightHue:lightSaturation:lightValue:
 
(NSString *) - lightHueDsecLocalizedKey:
 
(nullable NSDictionary *) - publishCommandsWithLightHue:lightSaturation:lightValue:
 
- Instance Methods inherited from ThingSmartDp
(nullable NSDictionary *) - publishCommands:
 
(NSString *) - valueStatusWithDpValue:
 
(ThingSmartDpValueDisplay *) - valueDisplayWithDpValue:
 
(nullable NSDictionary *) - publishCommands:
 
(NSString *) - valueStatusWithDpValue:
 
(ThingSmartDpValueDisplay *) - valueDisplayWithDpValue:
 
(nullable NSDictionary *) - publishCommands:
 
(NSString *) - valueStatusWithDpValue:
 
(ThingSmartDpValueDisplay *) - valueDisplayWithDpValue:
 
(nullable NSDictionary *) - publishCommands:
 
(NSString *) - valueStatusWithDpValue:
 
(ThingSmartDpValueDisplay *) - valueDisplayWithDpValue:
 

Properties

NSUInteger lightHueMin
 
NSUInteger lightHueMax
 
NSUInteger currentLightHue
 
NSUInteger lightSaturationMin
 
NSUInteger lightSaturationMax
 
NSUInteger currentLightSaturatio
 
NSUInteger lightValueMin
 
NSUInteger lightValueMax
 
NSUInteger currentLightValue
 
BOOL v2Type
 
- Properties inherited from ThingSmartDp
id< ThingSmartDpDataSourceProtocoldpDataSource
 DataSource. More...
 
ThingSmartSchemaModelschemaModel
 SchemaModel of current DP. More...
 
ThingSmartDpType smartDpType
 
NSString * standardDpCode
 
NSString * strategyCode
 
NSInteger dpId
 
NSString * dpType
 
NSString * name
 
NSString * iconname
 
NSString * unit
 
id curDpValue
 
NSString * titleStatus
 Get title display content under the current DP. More...
 
NSString * valueStatus
 Get 'curDpValue' display content under the current DP. More...
 

Additional Inherited Members

- Class Methods inherited from ThingSmartDp
(nullable __kindof ThingSmartDp *) + smartDpWithTargetInfo:dpId:quickOp:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithTargetInfo:dps:quickOp:
 
(nullable __kindof ThingSmartDp *) + smartDpWithTargetInfo:dpId:quickOp:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithTargetInfo:dps:quickOp:
 
(nullable __kindof ThingSmartDp *) + smartDpWithTargetInfo:dpId:quickOp:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithTargetInfo:dps:quickOp:
 
(nullable __kindof ThingSmartDp *) + smartDpWithTargetInfo:dpId:quickOp:
 
(NSArray< __kindof ThingSmartDp * > *) + smartDpListWithTargetInfo:dps:quickOp:
 

Detailed Description

Definition at line 122 of file ThingSmartDpParser.h.

Method Documentation

◆ lightHueDsecLocalizedKey: [1/4]

- (NSString *) lightHueDsecLocalizedKey: (NSUInteger)  lightHue

◆ lightHueDsecLocalizedKey: [2/4]

- (NSString *) lightHueDsecLocalizedKey: (NSUInteger)  lightHue

◆ lightHueDsecLocalizedKey: [3/4]

- (NSString *) lightHueDsecLocalizedKey: (NSUInteger)  lightHue

◆ lightHueDsecLocalizedKey: [4/4]

- (NSString *) lightHueDsecLocalizedKey: (NSUInteger)  lightHue

◆ publishCommandsWithLightHue:lightSaturation:lightValue: [1/4]

- (nullable NSDictionary *) publishCommandsWithLightHue: (NSUInteger)  lightHue
lightSaturation: (NSUInteger)  lightSaturation
lightValue: (NSUInteger)  lightValue 

◆ publishCommandsWithLightHue:lightSaturation:lightValue: [2/4]

- (nullable NSDictionary *) publishCommandsWithLightHue: (NSUInteger)  lightHue
lightSaturation: (NSUInteger)  lightSaturation
lightValue: (NSUInteger)  lightValue 

◆ publishCommandsWithLightHue:lightSaturation:lightValue: [3/4]

- (nullable NSDictionary *) publishCommandsWithLightHue: (NSUInteger)  lightHue
lightSaturation: (NSUInteger)  lightSaturation
lightValue: (NSUInteger)  lightValue 

◆ publishCommandsWithLightHue:lightSaturation:lightValue: [4/4]

- (nullable NSDictionary *) publishCommandsWithLightHue: (NSUInteger)  lightHue
lightSaturation: (NSUInteger)  lightSaturation
lightValue: (NSUInteger)  lightValue 

Property Documentation

◆ currentLightHue

- (NSUInteger) currentLightHue
readnonatomicassign

Definition at line 125 of file ThingSmartDpParser.h.

◆ currentLightSaturatio

- (NSUInteger) currentLightSaturatio
readnonatomicassign

Definition at line 130 of file ThingSmartDpParser.h.

◆ currentLightValue

- (NSUInteger) currentLightValue
readnonatomicassign

Definition at line 134 of file ThingSmartDpParser.h.

◆ lightHueMax

- (NSUInteger) lightHueMax
readnonatomicassign

Definition at line 124 of file ThingSmartDpParser.h.

◆ lightHueMin

- (NSUInteger) lightHueMin
readnonatomicassign

Definition at line 123 of file ThingSmartDpParser.h.

◆ lightSaturationMax

- (NSUInteger) lightSaturationMax
readnonatomicassign

Definition at line 129 of file ThingSmartDpParser.h.

◆ lightSaturationMin

- (NSUInteger) lightSaturationMin
readnonatomicassign

Definition at line 128 of file ThingSmartDpParser.h.

◆ lightValueMax

- (NSUInteger) lightValueMax
readnonatomicassign

Definition at line 133 of file ThingSmartDpParser.h.

◆ lightValueMin

- (NSUInteger) lightValueMin
readnonatomicassign

Definition at line 132 of file ThingSmartDpParser.h.

◆ v2Type

- (BOOL) v2Type
readnonatomicassign

Definition at line 136 of file ThingSmartDpParser.h.


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