![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <TSmartScenePreconditionParam.h>
Instance Methods | |
(NSString *) | - stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom. More... | |
(NSString *) | - stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom. More... | |
(NSString *) | - stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom. More... | |
(NSString *) | - stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom. More... | |
Properties | |
NSString * | sceneID |
The scene id. You can pass nil when create an automation scene. More... | |
NSString * | conditionID |
The current condition id. You need to pass the original condition id when editing scene for automation scene. More... | |
TSmartScenePreconditionType | preconditionType |
The precondition type, detail see TSmartScenePreconditionType . More... | |
NSString * | beginDate |
The begin date. eg:"00:59". When the preconditionType is TSmartScenePreconditionTypeCustom , the beginDate must be passed. More... | |
NSString * | endDate |
The end date. eg:"18:30". When the preconditionType is TSmartScenePreconditionTypeCustom , the endDate must be passed. More... | |
NSString * | loops |
The loop description, the data format is "1111111". Each bit indicates the Sunday to Saturday, 1 means valid, 0 means invalid. More... | |
NSString * | cityId |
The current city id. When the preconditionType is TSmartScenePreconditionTypeAllDay , you don't have to pass cityId. More... | |
NSString * | cityName |
The current city name. When the preconditionType is TSmartScenePreconditionTypeAllDay , you don't have to pass cityName. More... | |
NSString * | timeZoneId |
The timezone id, default is "Asia/Shanghai". More... | |
Definition at line 26 of file TSmartScenePreconditionParam.h.
- (NSString *) stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom.
- (NSString *) stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom.
- (NSString *) stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom.
- (NSString *) stringFromPreconditionType |
Returns a description string based on the preconditionType. It includes allday, daytime, night, custom.
|
readwritenonatomicstrong |
The begin date. eg:"00:59". When the preconditionType is TSmartScenePreconditionTypeCustom
, the beginDate must be passed.
Definition at line 38 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicstrong |
The current city id. When the preconditionType is TSmartScenePreconditionTypeAllDay
, you don't have to pass cityId.
Definition at line 47 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicstrong |
The current city name. When the preconditionType is TSmartScenePreconditionTypeAllDay
, you don't have to pass cityName.
Definition at line 50 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicstrong |
The current condition id. You need to pass the original condition id when editing scene for automation scene.
Definition at line 32 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicstrong |
The end date. eg:"18:30". When the preconditionType is TSmartScenePreconditionTypeCustom
, the endDate must be passed.
Definition at line 41 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicstrong |
The loop description, the data format is "1111111". Each bit indicates the Sunday to Saturday, 1 means valid, 0 means invalid.
Definition at line 44 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicassign |
The precondition type, detail see TSmartScenePreconditionType
.
Definition at line 35 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicstrong |
The scene id. You can pass nil when create an automation scene.
Definition at line 29 of file TSmartScenePreconditionParam.h.
|
readwritenonatomicstrong |
The timezone id, default is "Asia/Shanghai".
Definition at line 53 of file TSmartScenePreconditionParam.h.