![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
A factory design mode for create ThingSmartSceneActionModel. More...
#import <ThingSmartSceneActionFactory.h>
A factory design mode for create ThingSmartSceneActionModel.
Definition at line 23 of file ThingSmartSceneActionFactory.h.
| + (ThingSmartSceneActionModel *) createCallAction |
Create a call notification action(internal use, not open).
| + (ThingSmartSceneActionModel *) createCallAction |
Create a call notification action(internal use, not open).
| + (ThingSmartSceneActionModel *) createCallAction |
Create a call notification action(internal use, not open).
| + (ThingSmartSceneActionModel *) createCallAction |
Create a call notification action(internal use, not open).
| + (ThingSmartSceneActionModel *) createDelayActionWithHours: | (NSString *) | hours | |
| minutes: | (NSString *) | minutes | |
| seconds: | (NSString *) | seconds | |
Create a delay action.
| hours | hours,range 0-5. |
| minutes | minutes,range 0-59. |
| seconds | seconds,range 0-59. |
| + (ThingSmartSceneActionModel *) createDelayActionWithHours: | (NSString *) | hours | |
| minutes: | (NSString *) | minutes | |
| seconds: | (NSString *) | seconds | |
Create a delay action.
| hours | hours,range 0-5. |
| minutes | minutes,range 0-59. |
| seconds | seconds,range 0-59. |
| + (ThingSmartSceneActionModel *) createDelayActionWithHours: | (NSString *) | hours | |
| minutes: | (NSString *) | minutes | |
| seconds: | (NSString *) | seconds | |
Create a delay action.
| hours | hours,range 0-5. |
| minutes | minutes,range 0-59. |
| seconds | seconds,range 0-59. |
| + (ThingSmartSceneActionModel *) createDelayActionWithHours: | (NSString *) | hours | |
| minutes: | (NSString *) | minutes | |
| seconds: | (NSString *) | seconds | |
Create a delay action.
| hours | hours,range 0-5. |
| minutes | minutes,range 0-59. |
| seconds | seconds,range 0-59. |
| + (ThingSmartSceneActionModel *) createDeviceDpActionWithDevId: | (NSString *) | devId | |
| devName: | (NSString *) | devName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a device action with all param.
| devId | The device id. |
| devName | The device name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createDeviceDpActionWithDevId: | (NSString *) | devId | |
| devName: | (NSString *) | devName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a device action with all param.
| devId | The device id. |
| devName | The device name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createDeviceDpActionWithDevId: | (NSString *) | devId | |
| devName: | (NSString *) | devName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a device action with all param.
| devId | The device id. |
| devName | The device name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createDeviceDpActionWithDevId: | (NSString *) | devId | |
| devName: | (NSString *) | devName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a device action with all param.
| devId | The device id. |
| devName | The device name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createGroupDpActionWithGroupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a group action with group's params.
| groupId | The group id. |
| groupName | The group name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createGroupDpActionWithGroupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a group action with group's params.
| groupId | The group id. |
| groupName | The group name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createGroupDpActionWithGroupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a group action with group's params.
| groupId | The group id. |
| groupName | The group name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createGroupDpActionWithGroupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
| executerProperty: | (NSDictionary *) | executerProperty | |
| extraProperty: | (NSDictionary *) | extraProperty | |
Create a group action with group's params.
| groupId | The group id. |
| groupName | The group name. |
| executerProperty | Action to execute, format:{dpId: <dpId's value>} eg: {"1":true}. |
| extraProperty | The optional parameters, extraProperty of action. |
| + (ThingSmartSceneActionModel *) createSendNotificationAction |
Create a push notification action.
| + (ThingSmartSceneActionModel *) createSendNotificationAction |
Create a push notification action.
| + (ThingSmartSceneActionModel *) createSendNotificationAction |
Create a push notification action.
| + (ThingSmartSceneActionModel *) createSendNotificationAction |
Create a push notification action.
| + (ThingSmartSceneActionModel *) createSmsAction |
Create a send sms action(internal use, not open).
| + (ThingSmartSceneActionModel *) createSmsAction |
Create a send sms action(internal use, not open).
| + (ThingSmartSceneActionModel *) createSmsAction |
Create a send sms action(internal use, not open).
| + (ThingSmartSceneActionModel *) createSmsAction |
Create a send sms action(internal use, not open).
| + (ThingSmartSceneActionModel *) createSwitchAutoActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
| type: | (AutoSwitchType) | type | |
Create an action to enable/disable an automation.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| type | AutoSwitchType. |
| + (ThingSmartSceneActionModel *) createSwitchAutoActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
| type: | (AutoSwitchType) | type | |
Create an action to enable/disable an automation.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| type | AutoSwitchType. |
| + (ThingSmartSceneActionModel *) createSwitchAutoActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
| type: | (AutoSwitchType) | type | |
Create an action to enable/disable an automation.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| type | AutoSwitchType. |
| + (ThingSmartSceneActionModel *) createSwitchAutoActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
| type: | (AutoSwitchType) | type | |
Create an action to enable/disable an automation.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| type | AutoSwitchType. |
| + (ThingSmartSceneActionModel *) createTriggerSceneActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
Create an action to trigger a scene.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| + (ThingSmartSceneActionModel *) createTriggerSceneActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
Create an action to trigger a scene.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| + (ThingSmartSceneActionModel *) createTriggerSceneActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
Create an action to trigger a scene.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| + (ThingSmartSceneActionModel *) createTriggerSceneActionWithSceneId: | (NSString *) | sceneId | |
| sceneName: | (NSString *) | sceneName | |
Create an action to trigger a scene.
| sceneId | The sceneId id. |
| sceneName | The sceneName name. |
| + (ThingSmartSceneActionModel *) deviceActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| devId: | (NSString *) | devId | |
| deviceName: | (NSString *) | deviceName | |
The new method for create device action with params.
| feature | The device feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| devId | The device ID. |
| deviceName | The device name. |
| + (ThingSmartSceneActionModel *) deviceActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| devId: | (NSString *) | devId | |
| deviceName: | (NSString *) | deviceName | |
The new method for create device action with params.
| feature | The device feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| devId | The device ID. |
| deviceName | The device name. |
| + (ThingSmartSceneActionModel *) deviceActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| devId: | (NSString *) | devId | |
| deviceName: | (NSString *) | deviceName | |
The new method for create device action with params.
| feature | The device feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| devId | The device ID. |
| deviceName | The device name. |
| + (ThingSmartSceneActionModel *) deviceActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| devId: | (NSString *) | devId | |
| deviceName: | (NSString *) | deviceName | |
The new method for create device action with params.
| feature | The device feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| devId | The device ID. |
| deviceName | The device name. |
| + (ThingSmartSceneActionModel *) groupActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| groupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
The new method for create group action with params.
| feature | The group feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| groupId | The group ID. |
| groupName | The group name. |
| + (ThingSmartSceneActionModel *) groupActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| groupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
The new method for create group action with params.
| feature | The group feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| groupId | The group ID. |
| groupName | The group name. |
| + (ThingSmartSceneActionModel *) groupActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| groupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
The new method for create group action with params.
| feature | The group feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| groupId | The group ID. |
| groupName | The group name. |
| + (ThingSmartSceneActionModel *) groupActionWithFeature: | (ThingSmartSceneCoreFeatureModel *) | feature | |
| groupId: | (NSString *) | groupId | |
| groupName: | (NSString *) | groupName | |
The new method for create group action with params.
| feature | The group feature model. Detail see ThingSmartSceneCoreFeatureModel. |
| groupId | The group ID. |
| groupName | The group name. |