![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
The ThingSmartSceneManager class provides many methods for developers getting the list of scenes, getting the list of conditions, getting the list of tasks, the list of cities, the list of scene log, etc. More...
#import <ThingSmartSceneManager.h>
Class Methods | |
(instancetype) | + sharedInstance |
(instancetype) | + sharedInstance |
(instancetype) | + sharedInstance |
(instancetype) | + sharedInstance |
Properties | |
NSMutableArray * | conditionData |
NSMutableArray * | statusConditionData |
NSMutableArray * | actionData |
NSMutableArray * | groupData |
NSMutableDictionary * | deviceIdToPidMap |
id< ThingSmartSceneManagerDelegate > | delegate |
The delegate will be notified when the scene's contents change. More... | |
The ThingSmartSceneManager class provides many methods for developers getting the list of scenes, getting the list of conditions, getting the list of tasks, the list of cities, the list of scene log, etc.
Definition at line 40 of file ThingSmartSceneManager.h.
- (void) batchDeleteScenesWithSceneIds: | (NSArray< NSString * > *) | sceneIds | |
homeId: | (long long) | homeId | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch delete scenes.
sceneIds | [sceneId1, sceneId2, sceneId3] |
homeId | The home id. |
success | Success callback. |
failure | Failure callback. |
- (void) batchDeleteScenesWithSceneIds: | (NSArray< NSString * > *) | sceneIds | |
homeId: | (long long) | homeId | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch delete scenes.
sceneIds | [sceneId1, sceneId2, sceneId3] |
homeId | The home id. |
success | Success callback. |
failure | Failure callback. |
- (void) batchDeleteScenesWithSceneIds: | (NSArray< NSString * > *) | sceneIds | |
homeId: | (long long) | homeId | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch delete scenes.
sceneIds | [sceneId1, sceneId2, sceneId3] |
homeId | The home id. |
success | Success callback. |
failure | Failure callback. |
- (void) batchDeleteScenesWithSceneIds: | (NSArray< NSString * > *) | sceneIds | |
homeId: | (long long) | homeId | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch delete scenes.
sceneIds | [sceneId1, sceneId2, sceneId3] |
homeId | The home id. |
success | Success callback. |
failure | Failure callback. |
- (void) batchSaveSceneInRoomsWithGid: | (long long) | gid | |
ruleIds: | (NSArray< NSString * > *) | ruleIds | |
roomIds: | (NSArray< NSString * > *) | roomIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch save scenes in specified rooms.
gid | The home id. |
ruleIds | The scene id list. |
roomIds | The room id list. |
success | Success callback. |
failure | Failure callback. |
- (void) batchSaveSceneInRoomsWithGid: | (long long) | gid | |
ruleIds: | (NSArray< NSString * > *) | ruleIds | |
roomIds: | (NSArray< NSString * > *) | roomIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch save scenes in specified rooms.
gid | The home id. |
ruleIds | The scene id list. |
roomIds | The room id list. |
success | Success callback. |
failure | Failure callback. |
- (void) batchSaveSceneInRoomsWithGid: | (long long) | gid | |
ruleIds: | (NSArray< NSString * > *) | ruleIds | |
roomIds: | (NSArray< NSString * > *) | roomIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch save scenes in specified rooms.
gid | The home id. |
ruleIds | The scene id list. |
roomIds | The room id list. |
success | Success callback. |
failure | Failure callback. |
- (void) batchSaveSceneInRoomsWithGid: | (long long) | gid | |
ruleIds: | (NSArray< NSString * > *) | ruleIds | |
roomIds: | (NSArray< NSString * > *) | roomIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Batch save scenes in specified rooms.
gid | The home id. |
ruleIds | The scene id list. |
roomIds | The room id list. |
success | Success callback. |
failure | Failure callback. |
- (void) cancelRequest |
Cancel the request being executed.
- (void) cancelRequest |
Cancel the request being executed.
- (void) cancelRequest |
Cancel the request being executed.
- (void) cancelRequest |
Cancel the request being executed.
- (void) cleanSceneCache |
clean scene caches
- (void) cleanSceneCache |
clean scene caches
- (void) cleanSceneCache |
clean scene caches
- (void) cleanSceneCache |
clean scene caches
- (void) deleteBatchSmartScenesWithParams: | (NSDictionary *) | params | |
commonParams: | (NSDictionary *) | commons | |
success: | (ThingSuccessHandler) | success | |
failure: | ("This method is) | deprecated | |
(Use -batchDeleteScenesWithSceneIds:homeId:success:failure:instead") | __deprecated_msg | ||
Batch delete scenes.
params"ruleIds" | : "id1,id2,id3"}. |
commons | Common params. |
success | Success callback. |
failure | Failure callback. |
- (void) deleteBatchSmartScenesWithParams: | (NSDictionary *) | params | |
commonParams: | (NSDictionary *) | commons | |
success: | (ThingSuccessHandler) | success | |
failure: | ("This method is) | deprecated | |
(Use -batchDeleteScenesWithSceneIds:homeId:success:failure:instead") | __deprecated_msg | ||
Batch delete scenes.
params"ruleIds" | : "id1,id2,id3"}. |
commons | Common params. |
success | Success callback. |
failure | Failure callback. |
- (void) deleteBatchSmartScenesWithParams: | (NSDictionary *) | params | |
commonParams: | (NSDictionary *) | commons | |
success: | (ThingSuccessHandler) | success | |
failure: | ("This method is) | deprecated | |
(Use -batchDeleteScenesWithSceneIds:homeId:success:failure:instead") | __deprecated_msg | ||
Batch delete scenes.
params"ruleIds" | : "id1,id2,id3"}. |
commons | Common params. |
success | Success callback. |
failure | Failure callback. |
- (void) deleteBatchSmartScenesWithParams: | (NSDictionary *) | params | |
commonParams: | (NSDictionary *) | commons | |
success: | (ThingSuccessHandler) | success | |
failure: | ("This method is) | deprecated | |
(Use -batchDeleteScenesWithSceneIds:homeId:success:failure:instead") | __deprecated_msg | ||
Batch delete scenes.
params"ruleIds" | : "id1,id2,id3"}. |
commons | Common params. |
success | Success callback. |
failure | Failure callback. |
- (void) executeSmartSceneWithId: | (NSString *) | sceneId | |
Success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Execute scene in the cloud.
sceneId | The scene ID. |
success | When success, description the scene is excuted successfully. |
failure | When error occurred, return error. |
- (void) executeSmartSceneWithId: | (NSString *) | sceneId | |
Success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Execute scene in the cloud.
sceneId | The scene ID. |
success | When success, description the scene is excuted successfully. |
failure | When error occurred, return error. |
- (void) executeSmartSceneWithId: | (NSString *) | sceneId | |
Success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Execute scene in the cloud.
sceneId | The scene ID. |
success | When success, description the scene is excuted successfully. |
failure | When error occurred, return error. |
- (void) executeSmartSceneWithId: | (NSString *) | sceneId | |
Success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Execute scene in the cloud.
sceneId | The scene ID. |
success | When success, description the scene is excuted successfully. |
failure | When error occurred, return error. |
- (void) fetchRecommendListForDeviceIDs: | (NSArray< NSString * > *) | deviceIDs | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
deviceIDs | The device IDs array. |
homeId | The home ID. |
success | The success callback. |
failure | The failure callback. |
- (void) fetchRecommendListForDeviceIDs: | (NSArray< NSString * > *) | deviceIDs | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
deviceIDs | The device IDs array. |
homeId | The home ID. |
success | The success callback. |
failure | The failure callback. |
- (void) fetchRecommendListForDeviceIDs: | (NSArray< NSString * > *) | deviceIDs | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
deviceIDs | The device IDs array. |
homeId | The home ID. |
success | The success callback. |
failure | The failure callback. |
- (void) fetchRecommendListForDeviceIDs: | (NSArray< NSString * > *) | deviceIDs | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
deviceIDs | The device IDs array. |
homeId | The home ID. |
success | The success callback. |
failure | The failure callback. |
- (void) fetchSceneDetailWithDetailParams: | (TSceneDetailParams *) | detailParams | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information with the detail request parameter infomation.
detailParams | The detail request params. |
success | When successfully return the scene detail model. |
failure | When error occurred return the failure error. |
- (void) fetchSceneDetailWithDetailParams: | (TSceneDetailParams *) | detailParams | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information with the detail request parameter infomation.
detailParams | The detail request params. |
success | When successfully return the scene detail model. |
failure | When error occurred return the failure error. |
- (void) fetchSceneDetailWithDetailParams: | (TSceneDetailParams *) | detailParams | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information with the detail request parameter infomation.
detailParams | The detail request params. |
success | When successfully return the scene detail model. |
failure | When error occurred return the failure error. |
- (void) fetchSceneDetailWithDetailParams: | (TSceneDetailParams *) | detailParams | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information with the detail request parameter infomation.
detailParams | The detail request params. |
success | When successfully return the scene detail model. |
failure | When error occurred return the failure error. |
- (void) getActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionDeviceDPListWithDevId:success:failure:instead") | __deprecated_msg | ||
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionDeviceDPListWithDevId:success:failure:instead") | __deprecated_msg | ||
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionDeviceDPListWithDevId:success:failure:instead") | __deprecated_msg | ||
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionDeviceDPListWithDevId:success:failure:instead") | __deprecated_msg | ||
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getActionGroupListAndDeviceListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get action device list in the scene with specify the current home id.
homeId | The current home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getActionGroupListAndDeviceListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get action device list in the scene with specify the current home id.
homeId | The current home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getActionGroupListAndDeviceListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get action device list in the scene with specify the current home id.
homeId | The current home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getActionGroupListAndDeviceListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get action device list in the scene with specify the current home id.
homeId | The current home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: | (long long) | roomId |
Get action device list in the current room with the specify room id.
roomId | The room ID. |
@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: | (long long) | roomId |
Get action device list in the current room with the specify room id.
roomId | The room ID. |
@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: | (long long) | roomId |
Get action device list in the current room with the specify room id.
roomId | The room ID. |
@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: | (long long) | roomId |
Get action device list in the current room with the specify room id.
roomId | The room ID. |
@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.
Provided by category ThingSmartSceneManager(Home).
- (void) getActionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getActionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getActionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getActionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionGroupDPListWithGroupId:success:failure:instead") | __deprecated_msg | ||
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionGroupDPListWithGroupId:success:failure:instead") | __deprecated_msg | ||
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionGroupDPListWithGroupId:success:failure:instead") | __deprecated_msg | ||
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getNewActionGroupDPListWithGroupId:success:failure:instead") | __deprecated_msg | ||
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionGroupListAndDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all device list and group list for action in the scene with specify the current home id.
homeId | The home ID. |
success | When success, return map object, including deviceList、groupList and extendsDictionary object. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionGroupListAndDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all device list and group list for action in the scene with specify the current home id.
homeId | The home ID. |
success | When success, return map object, including deviceList、groupList and extendsDictionary object. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionGroupListAndDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all device list and group list for action in the scene with specify the current home id.
homeId | The home ID. |
success | When success, return map object, including deviceList、groupList and extendsDictionary object. |
failure | When error occurred, return ThingFailureError. |
- (void) getActionGroupListAndDeviceListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all device list and group list for action in the scene with specify the current home id.
homeId | The home ID. |
success | When success, return map object, including deviceList、groupList and extendsDictionary object. |
failure | When error occurred, return ThingFailureError. |
- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: | (long long) | roomId |
Get group list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: | (long long) | roomId |
Get group list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: | (long long) | roomId |
Get group list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: | (long long) | roomId |
Get group list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get all condition list for automation conditions, including weather condition、device condition and so on.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get all condition list for automation conditions, including weather condition、device condition and so on.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get all condition list for automation conditions, including weather condition、device condition and so on.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get all condition list for automation conditions, including weather condition、device condition and so on.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
windSpeedUnit: | (NSString *) | speedUnit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
speedUnit | The speed unit description. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
windSpeedUnit: | (NSString *) | speedUnit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
speedUnit | The speed unit description. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
windSpeedUnit: | (NSString *) | speedUnit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
speedUnit | The speed unit description. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getAllConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
windSpeedUnit: | (NSString *) | speedUnit | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
speedUnit | The speed unit description. |
homeId | The current home ID. |
success | When success, return map object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: | (long long) | homeId |
Return the cached device recommended scene list
homeId | home id |
- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: | (long long) | homeId |
Return the cached device recommended scene list
homeId | home id |
- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: | (long long) | homeId |
Return the cached device recommended scene list
homeId | home id |
- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: | (long long) | homeId |
Return the cached device recommended scene list
homeId | home id |
- (void) getCityInfoWithCityId: | (NSString *) | cityId | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the city id.
cityId | The city ID. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityInfoWithCityId: | (NSString *) | cityId | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the city id.
cityId | The city ID. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityInfoWithCityId: | (NSString *) | cityId | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the city id.
cityId | The city ID. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityInfoWithCityId: | (NSString *) | cityId | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the city id.
cityId | The city ID. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityInfoWithLatitude: | (NSString *) | latitude | |
longitude: | (NSString *) | longitude | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the latitude and longitude.
latitude | The latitude. |
longitude | The longitude. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityInfoWithLatitude: | (NSString *) | latitude | |
longitude: | (NSString *) | longitude | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the latitude and longitude.
latitude | The latitude. |
longitude | The longitude. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityInfoWithLatitude: | (NSString *) | latitude | |
longitude: | (NSString *) | longitude | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the latitude and longitude.
latitude | The latitude. |
longitude | The longitude. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityInfoWithLatitude: | (NSString *) | latitude | |
longitude: | (NSString *) | longitude | |
success: | (ThingSceneGetCityInfoCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city detail information with specify the latitude and longitude.
latitude | The latitude. |
longitude | The longitude. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityListWithCountryCode: | (NSString *) | countryCode | |
success: | (ThingSceneGetCityListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city list with specify the current country code. If you are out of China, we suggest you use latitude and longitude to get the city information.
countryCode | The country code. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityListWithCountryCode: | (NSString *) | countryCode | |
success: | (ThingSceneGetCityListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city list with specify the current country code. If you are out of China, we suggest you use latitude and longitude to get the city information.
countryCode | The country code. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityListWithCountryCode: | (NSString *) | countryCode | |
success: | (ThingSceneGetCityListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city list with specify the current country code. If you are out of China, we suggest you use latitude and longitude to get the city information.
countryCode | The country code. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCityListWithCountryCode: | (NSString *) | countryCode | |
success: | (ThingSceneGetCityListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get city list with specify the current country code. If you are out of China, we suggest you use latitude and longitude to get the city information.
countryCode | The country code. |
success | When success, return ThingSmartCityModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCollectionSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get collection scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCollectionSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get collection scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCollectionSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get collection scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCollectionSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get collection scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getCondicationDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device dp list for condition in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device. |
failure | When error occurred, return ThingFailureError. |
- (void) getCondicationDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device dp list for condition in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device. |
failure | When error occurred, return ThingFailureError. |
- (void) getCondicationDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device dp list for condition in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device. |
failure | When error occurred, return ThingFailureError. |
- (void) getCondicationDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device dp list for condition in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionCategoryListWihtHomeId: | (long long) | homeId | |
conditionCategoryParams: | (TSceneConditionCategoryListRequestParams *) | params | |
success: | (void(^)(ThingSmartSceneConditionCategoryListModel *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
homeId | The home ID. |
params | The request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object. |
success | When success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionCategoryListWihtHomeId: | (long long) | homeId | |
conditionCategoryParams: | (TSceneConditionCategoryListRequestParams *) | params | |
success: | (void(^)(ThingSmartSceneConditionCategoryListModel *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
homeId | The home ID. |
params | The request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object. |
success | When success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionCategoryListWihtHomeId: | (long long) | homeId | |
conditionCategoryParams: | (TSceneConditionCategoryListRequestParams *) | params | |
success: | (void(^)(ThingSmartSceneConditionCategoryListModel *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
homeId | The home ID. |
params | The request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object. |
success | When success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionCategoryListWihtHomeId: | (long long) | homeId | |
conditionCategoryParams: | (TSceneConditionCategoryListRequestParams *) | params | |
success: | (void(^)(ThingSmartSceneConditionCategoryListModel *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
Get all condition list for automation conditions with the specify temperature scale type, speed unit and homeId.
homeId | The home ID. |
params | The request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object. |
success | When success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get condition device list in the scene with specify the current home id
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get condition device list in the scene with specify the current home id
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get condition device list in the scene with specify the current home id
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get condition device list in the scene with specify the current home id
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: | (long long) | roomId |
Get condition device list for the current room in the scene with specify room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: | (long long) | roomId |
Get condition device list for the current room in the scene with specify room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: | (long long) | roomId |
Get condition device list for the current room in the scene with specify room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: | (long long) | roomId |
Get condition device list for the current room in the scene with specify room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (void) getConditionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getConditionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getConditionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getConditionExtendConfigWithHomeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel)) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get a weather condition list for automation conditions with the specify temperature scale type. If Fahrenheit is YES, indicates that the temperature unit you use is Fahrenheit, otherwise you use is Celsius.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get a weather condition list for automation conditions with the specify temperature scale type. If Fahrenheit is YES, indicates that the temperature unit you use is Fahrenheit, otherwise you use is Celsius.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get a weather condition list for automation conditions with the specify temperature scale type. If Fahrenheit is YES, indicates that the temperature unit you use is Fahrenheit, otherwise you use is Celsius.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getConditionListWithFahrenheit: | (BOOL) | fahrenheit | |
success: | (void(^)(NSArray< ThingSmartSceneDPModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead") | __deprecated_msg | ||
Get a weather condition list for automation conditions with the specify temperature scale type. If Fahrenheit is YES, indicates that the temperature unit you use is Fahrenheit, otherwise you use is Celsius.
fahrenheit | If YES, indicate the temperature unit is Fahrenheit, otherwise Celsius. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getDPListV1ForConditionDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of condition devices with specify current homeId and devId.
devId | The device ID. |
homeId | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getDPListV1ForConditionDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of condition devices with specify current homeId and devId.
devId | The device ID. |
homeId | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getDPListV1ForConditionDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of condition devices with specify current homeId and devId.
devId | The device ID. |
homeId | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getDPListV1ForConditionDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of condition devices with specify current homeId and devId.
devId | The device ID. |
homeId | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getFaceDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for recognize face condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getFaceDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for recognize face condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getFaceDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for recognize face condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getFaceDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for recognize face condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getLockDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for the member lock condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list for member lock condition. |
failure | When error occurred, return ThingFailureError. |
- (void) getLockDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for the member lock condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list for member lock condition. |
failure | When error occurred, return ThingFailureError. |
- (void) getLockDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for the member lock condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list for member lock condition. |
failure | When error occurred, return ThingFailureError. |
- (void) getLockDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device list for the member lock condition type with specify current home id.
homeId | The home ID. |
success | When success, return ThingSmartDeviceModel list for member lock condition. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionDeviceDPListWithDevId: | (NSString *) | devId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get device data point list for action in the scene with specify the device id.
devId | The device ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getNewActionGroupDPListWithGroupId: | (NSString *) | groupId | |
success: | (ThingSceneGetFeatureListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get group datapoint list for action in the scene with specify the current group id.
groupId | The group ID. |
success | When success, return ThingSmartSceneCoreFeatureModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendDeviceListWithDevIds: | (NSArray< NSString * > *) | devIds | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
devIds | deviceId list |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecommendDeviceListWithDevIds: | (NSArray< NSString * > *) | devIds | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
devIds | deviceId list |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecommendDeviceListWithDevIds: | (NSArray< NSString * > *) | devIds | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
devIds | deviceId list |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecommendDeviceListWithDevIds: | (NSArray< NSString * > *) | devIds | |
homeId: | (long long) | homeId | |
success: | (void(^)(NSDictionary< NSString *, ThingSmartSceneModel * > *dict)) | success | |
failure: | (ThingFailureError) | failure | |
Return the corresponding recommended scene dictionary according to the device id list.
devIds | deviceId list |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
deviceId: | (NSString *) | deviceId | |
count: | (NSInteger) | count | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId and deviceId.
homeId | The home ID. |
deviceId | The device ID. |
count | The request count. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
deviceId: | (NSString *) | deviceId | |
count: | (NSInteger) | count | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId and deviceId.
homeId | The home ID. |
deviceId | The device ID. |
count | The request count. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
deviceId: | (NSString *) | deviceId | |
count: | (NSInteger) | count | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId and deviceId.
homeId | The home ID. |
deviceId | The device ID. |
count | The request count. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
deviceId: | (NSString *) | deviceId | |
count: | (NSInteger) | count | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId and deviceId.
homeId | The home ID. |
deviceId | The device ID. |
count | The request count. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getRecommendSceneDetailWithSceneId: | (NSString *) | sceneId | |
homeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneModel *sceneModel)) | success | |
failure: | (ThingFailureError) | failure | |
Request recommended scene details based on recommended scene id.
sceneId | scene id |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecommendSceneDetailWithSceneId: | (NSString *) | sceneId | |
homeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneModel *sceneModel)) | success | |
failure: | (ThingFailureError) | failure | |
Request recommended scene details based on recommended scene id.
sceneId | scene id |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecommendSceneDetailWithSceneId: | (NSString *) | sceneId | |
homeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneModel *sceneModel)) | success | |
failure: | (ThingFailureError) | failure | |
Request recommended scene details based on recommended scene id.
sceneId | scene id |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecommendSceneDetailWithSceneId: | (NSString *) | sceneId | |
homeId: | (long long) | homeId | |
success: | (void(^)(ThingSmartSceneModel *sceneModel)) | success | |
failure: | (ThingFailureError) | failure | |
Request recommended scene details based on recommended scene id.
sceneId | scene id |
homeId | home id |
success | Success callback. |
failure | Failure callback. |
- (void) getRecomSceneList: | (long long) | homeId | |
recomListParam: | (TSceneRecomListParams *) | params | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list.
homeId | Home ID. |
params | The request params object, detail see TSceneRecomListParams |
success | The success callback. |
failure | The failure callback. |
- (void) getRecomSceneList: | (long long) | homeId | |
recomListParam: | (TSceneRecomListParams *) | params | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list.
homeId | Home ID. |
params | The request params object, detail see TSceneRecomListParams |
success | The success callback. |
failure | The failure callback. |
- (void) getRecomSceneList: | (long long) | homeId | |
recomListParam: | (TSceneRecomListParams *) | params | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list.
homeId | Home ID. |
params | The request params object, detail see TSceneRecomListParams |
success | The success callback. |
failure | The failure callback. |
- (void) getRecomSceneList: | (long long) | homeId | |
recomListParam: | (TSceneRecomListParams *) | params | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get recommend scene list.
homeId | Home ID. |
params | The request params object, detail see TSceneRecomListParams |
success | The success callback. |
failure | The failure callback. |
- (void) getSceneBizEntryListWithHomeId: | (NSString *) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get a scenes list of other types, such as lighting, community, real estate.
homeId | The home ID. |
success | When success, return ThingSmartSceneBizEntryModel list.s |
failure | When error occurred, return error. |
- (void) getSceneBizEntryListWithHomeId: | (NSString *) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get a scenes list of other types, such as lighting, community, real estate.
homeId | The home ID. |
success | When success, return ThingSmartSceneBizEntryModel list.s |
failure | When error occurred, return error. |
- (void) getSceneBizEntryListWithHomeId: | (NSString *) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get a scenes list of other types, such as lighting, community, real estate.
homeId | The home ID. |
success | When success, return ThingSmartSceneBizEntryModel list.s |
failure | When error occurred, return error. |
- (void) getSceneBizEntryListWithHomeId: | (NSString *) | homeId | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get a scenes list of other types, such as lighting, community, real estate.
homeId | The home ID. |
success | When success, return ThingSmartSceneBizEntryModel list.s |
failure | When error occurred, return error. |
- (void) getSceneDetailWithHomeId: | (long long) | homeId | |
sceneId: | (NSString *) | sceneId | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information according to the specify homeId and sceneId.
homeId | The home ID. |
sceneId | The scene ID. |
success | When successfully get scene detail, this block will be called and return ThingSmartSceneModel object. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneDetailWithHomeId: | (long long) | homeId | |
sceneId: | (NSString *) | sceneId | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information according to the specify homeId and sceneId.
homeId | The home ID. |
sceneId | The scene ID. |
success | When successfully get scene detail, this block will be called and return ThingSmartSceneModel object. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneDetailWithHomeId: | (long long) | homeId | |
sceneId: | (NSString *) | sceneId | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information according to the specify homeId and sceneId.
homeId | The home ID. |
sceneId | The scene ID. |
success | When successfully get scene detail, this block will be called and return ThingSmartSceneModel object. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneDetailWithHomeId: | (long long) | homeId | |
sceneId: | (NSString *) | sceneId | |
success: | (ThingSceneGetModelCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene detail information according to the specify homeId and sceneId.
homeId | The home ID. |
sceneId | The scene ID. |
success | When successfully get scene detail, this block will be called and return ThingSmartSceneModel object. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneListForHomePageWithHomeId: | (long long) | homeId | |
params: | (ThingSmartHomePageSceneParams *) | params | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get the scene list by ThingSmartHomePageSceneParams
request params.
homeId | The home ID. |
params | The request params, detail see ThingSmartHomePageSceneParams object. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getSceneListForHomePageWithHomeId: | (long long) | homeId | |
params: | (ThingSmartHomePageSceneParams *) | params | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get the scene list by ThingSmartHomePageSceneParams
request params.
homeId | The home ID. |
params | The request params, detail see ThingSmartHomePageSceneParams object. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getSceneListForHomePageWithHomeId: | (long long) | homeId | |
params: | (ThingSmartHomePageSceneParams *) | params | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get the scene list by ThingSmartHomePageSceneParams
request params.
homeId | The home ID. |
params | The request params, detail see ThingSmartHomePageSceneParams object. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getSceneListForHomePageWithHomeId: | (long long) | homeId | |
params: | (ThingSmartHomePageSceneParams *) | params | |
success: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get the scene list by ThingSmartHomePageSceneParams
request params.
homeId | The home ID. |
params | The request params, detail see ThingSmartHomePageSceneParams object. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getSimpleSceneListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get a list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getSimpleSceneListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get a list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getSimpleSceneListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get a list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | ("This method is) | deprecated | |
(Use -getSimpleSceneListWithHomeId:success:failure instead") | __deprecated_msg | ||
Get a list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSceneSecurityActionSwitch: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Determine whether to display security actions based on the AppId
success | When success, return YES if the App should show security action item, otherwise NO. |
failure | When error occurred, return NSError object. |
- (void) getSceneSecurityActionSwitch: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Determine whether to display security actions based on the AppId
success | When success, return YES if the App should show security action item, otherwise NO. |
failure | When error occurred, return NSError object. |
- (void) getSceneSecurityActionSwitch: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Determine whether to display security actions based on the AppId
success | When success, return YES if the App should show security action item, otherwise NO. |
failure | When error occurred, return NSError object. |
- (void) getSceneSecurityActionSwitch: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Determine whether to display security actions based on the AppId
success | When success, return YES if the App should show security action item, otherwise NO. |
failure | When error occurred, return NSError object. |
- (void) getSimpleSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get a simple list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSimpleSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get a simple list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSimpleSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get a simple list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSimpleSceneListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get a simple list of scenes, including tap-to-run and automation. We can judge tap-to-run and automation scene by the entityType of conditions property in ThingSmartSceneModel, The scene is tap-to-run when the entityType equal AutoTypeManual, otherwise it's automation.
homeId | The current home ID. |
success | When successfully get the scene list, this block will be called and return ThingSmartSceneModel list. |
failure | When error occurred, this block will be called and return ThingFailureError. |
- (void) getSmartSceneBackgroundCoverWithsuccess: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get scene background icons URL list.
success | When success, return URL list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneBackgroundCoverWithsuccess: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get scene background icons URL list.
success | When success, return URL list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneBackgroundCoverWithsuccess: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get scene background icons URL list.
success | When success, return URL list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneBackgroundCoverWithsuccess: | (ThingSuccessList) | success | |
failure: | (ThingFailureError) | failure | |
Get scene background icons URL list.
success | When success, return URL list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneCustomStyleListWithSuccess: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Get scene custom style resource list, including color、icon and background. The return result map object, contain coverColors、coverIconList and coverPics.
success | When success, return map object, including coverColors、coverIconList and coverPics object. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneCustomStyleListWithSuccess: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Get scene custom style resource list, including color、icon and background. The return result map object, contain coverColors、coverIconList and coverPics.
success | When success, return map object, including coverColors、coverIconList and coverPics object. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneCustomStyleListWithSuccess: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Get scene custom style resource list, including color、icon and background. The return result map object, contain coverColors、coverIconList and coverPics.
success | When success, return map object, including coverColors、coverIconList and coverPics object. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneCustomStyleListWithSuccess: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Get scene custom style resource list, including color、icon and background. The return result map object, contain coverColors、coverIconList and coverPics.
success | When success, return map object, including coverColors、coverIconList and coverPics object. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogDetailWithHomeId: | (long long) | homeId | |
eventId: | (NSString *) | eventId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
returnType: | (long long) | returnType | |
success: | (ThingSceneLogDetailListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene log detail information by the homeId, eventId, startTime, endTime, returnType.
homeId | The home ID. |
eventId | The event ID. |
startTime | The start date. |
endTime | The end date. |
returnType | The return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0. |
success | When success, return ThingSmartSceneLogDetailModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogDetailWithHomeId: | (long long) | homeId | |
eventId: | (NSString *) | eventId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
returnType: | (long long) | returnType | |
success: | (ThingSceneLogDetailListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene log detail information by the homeId, eventId, startTime, endTime, returnType.
homeId | The home ID. |
eventId | The event ID. |
startTime | The start date. |
endTime | The end date. |
returnType | The return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0. |
success | When success, return ThingSmartSceneLogDetailModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogDetailWithHomeId: | (long long) | homeId | |
eventId: | (NSString *) | eventId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
returnType: | (long long) | returnType | |
success: | (ThingSceneLogDetailListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene log detail information by the homeId, eventId, startTime, endTime, returnType.
homeId | The home ID. |
eventId | The event ID. |
startTime | The start date. |
endTime | The end date. |
returnType | The return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0. |
success | When success, return ThingSmartSceneLogDetailModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogDetailWithHomeId: | (long long) | homeId | |
eventId: | (NSString *) | eventId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
returnType: | (long long) | returnType | |
success: | (ThingSceneLogDetailListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene log detail information by the homeId, eventId, startTime, endTime, returnType.
homeId | The home ID. |
eventId | The event ID. |
startTime | The start date. |
endTime | The end date. |
returnType | The return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0. |
success | When success, return ThingSmartSceneLogDetailModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogOfDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene linkage log list of specified device.
devId | The device ID. |
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogOfDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene linkage log list of specified device.
devId | The device ID. |
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogOfDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene linkage log list of specified device.
devId | The device ID. |
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogOfDeviceWithDevId: | (NSString *) | devId | |
homeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get scene linkage log list of specified device.
devId | The device ID. |
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogWithHomeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get all scene linkage logs, including reminder of successful or failed scene execution、push information and so on.
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogWithHomeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get all scene linkage logs, including reminder of successful or failed scene execution、push information and so on.
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogWithHomeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get all scene linkage logs, including reminder of successful or failed scene execution、push information and so on.
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getSmartSceneLogWithHomeId: | (long long) | homeId | |
startTime: | (long long) | startTime | |
endTime: | (long long) | endTime | |
size: | (NSInteger) | size | |
lastId: | (NSString *) | lastId | |
lastRecordTime: | (long long) | lastRecordTime | |
success: | (ThingSceneLogCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get all scene linkage logs, including reminder of successful or failed scene execution、push information and so on.
homeId | The home ID. |
startTime | The start date. |
endTime | The end date. |
size | The number of items to be queried. |
lastId | The id of the last query item. |
lastRecordTime | The record date of the last query item. |
success | When success, return ThingSmartSceneLogModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getStatusConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get the list of status condition device list.
homeId | The homeID. |
success | When success, return device list of status condition. |
failure | When error occurred, return error. |
- (void) getStatusConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get the list of status condition device list.
homeId | The homeID. |
success | When success, return device list of status condition. |
failure | When error occurred, return error. |
- (void) getStatusConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get the list of status condition device list.
homeId | The homeID. |
success | When success, return device list of status condition. |
failure | When error occurred, return error. |
- (void) getStatusConditionDeviceListWithHomeId: | (long long) | homeId | |
success: | (ThingSceneGetDeviceListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Get the list of status condition device list.
homeId | The homeID. |
success | When success, return device list of status condition. |
failure | When error occurred, return error. |
- (void) getStatusConditionDPListWithDevId: | (NSString *) | devId | |
gid: | (long long) | gid | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of status condition devices with specify current homeId and devId.
devId | The device ID. |
gid | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getStatusConditionDPListWithDevId: | (NSString *) | devId | |
gid: | (long long) | gid | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of status condition devices with specify current homeId and devId.
devId | The device ID. |
gid | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getStatusConditionDPListWithDevId: | (NSString *) | devId | |
gid: | (long long) | gid | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of status condition devices with specify current homeId and devId.
devId | The device ID. |
gid | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getStatusConditionDPListWithDevId: | (NSString *) | devId | |
gid: | (long long) | gid | |
success: | (ThingSceneGetDPListCompletion) | success | |
failure: | (ThingFailureError) | failure | |
Gets the dp list of status condition devices with specify current homeId and devId.
devId | The device ID. |
gid | The home ID. |
success | When success, return ThingSmartSceneDPModel list. |
failure | When error occurred, return ThingFailureError object. |
- (void) getTopRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get top recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getTopRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get top recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getTopRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get top recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) getTopRecommendedSceneListWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Get top recommend scene list with the specify homeId.
homeId | The home ID. |
success | When success, return ThingSmartSceneModel list. |
failure | When error occurred, return ThingFailureError. |
- (void) hasNewLogsWithHomeId: | (long long) | homeId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
Check the user has new logs under the current home.
homeId | The home ID. |
success | Success callback. Return YES if the user has new logs under current home, otherwise NO. |
failure | Failure callback. Return error When the home ID is invalid. |
- (void) hasNewLogsWithHomeId: | (long long) | homeId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
Check the user has new logs under the current home.
homeId | The home ID. |
success | Success callback. Return YES if the user has new logs under current home, otherwise NO. |
failure | Failure callback. Return error When the home ID is invalid. |
- (void) hasNewLogsWithHomeId: | (long long) | homeId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
Check the user has new logs under the current home.
homeId | The home ID. |
success | Success callback. Return YES if the user has new logs under current home, otherwise NO. |
failure | Failure callback. Return error When the home ID is invalid. |
- (void) hasNewLogsWithHomeId: | (long long) | homeId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
Check the user has new logs under the current home.
homeId | The home ID. |
success | Success callback. Return YES if the user has new logs under current home, otherwise NO. |
failure | Failure callback. Return error When the home ID is invalid. |
- (void) removeAllGeoFence |
Remove all geofence registered in the apple system for automation scene when user logout.
- (void) removeAllGeoFence |
Remove all geofence registered in the apple system for automation scene when user logout.
- (void) removeAllGeoFence |
Remove all geofence registered in the apple system for automation scene when user logout.
- (void) removeAllGeoFence |
Remove all geofence registered in the apple system for automation scene when user logout.
- (void) removeSceneWithHomeId: | (long long) | homeId | |
roomId: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Remove scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) removeSceneWithHomeId: | (long long) | homeId | |
roomId: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Remove scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) removeSceneWithHomeId: | (long long) | homeId | |
roomId: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Remove scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) removeSceneWithHomeId: | (long long) | homeId | |
roomId: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Remove scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) removeTopRecommendSceneWithHomeId: | (long long) | homeId | |
recommendId: | (NSString *) | recommendId | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Delete a home recommended scene.
homeId | The home id. |
recommendId | The top recommend scene id. |
success | When success return id object. |
failure | When failure return ThingFailureError. |
- (void) removeTopRecommendSceneWithHomeId: | (long long) | homeId | |
recommendId: | (NSString *) | recommendId | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Delete a home recommended scene.
homeId | The home id. |
recommendId | The top recommend scene id. |
success | When success return id object. |
failure | When failure return ThingFailureError. |
- (void) removeTopRecommendSceneWithHomeId: | (long long) | homeId | |
recommendId: | (NSString *) | recommendId | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Delete a home recommended scene.
homeId | The home id. |
recommendId | The top recommend scene id. |
success | When success return id object. |
failure | When failure return ThingFailureError. |
- (void) removeTopRecommendSceneWithHomeId: | (long long) | homeId | |
recommendId: | (NSString *) | recommendId | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Delete a home recommended scene.
homeId | The home id. |
recommendId | The top recommend scene id. |
success | When success return id object. |
failure | When failure return ThingFailureError. |
- (void) replaceActionData: | (NSArray *) | actions |
- (void) replaceActionData: | (NSArray *) | actions |
- (void) replaceActionData: | (NSArray *) | actions |
- (void) replaceActionData: | (NSArray *) | actions |
- (void) replaceConidtionData: | (NSArray *) | conditions |
- (void) replaceConidtionData: | (NSArray *) | conditions |
- (void) replaceConidtionData: | (NSArray *) | conditions |
- (void) replaceConidtionData: | (NSArray *) | conditions |
- (void) replaceGroupData: | (NSArray *) | groups |
- (void) replaceGroupData: | (NSArray *) | groups |
- (void) replaceGroupData: | (NSArray *) | groups |
- (void) replaceGroupData: | (NSArray *) | groups |
- (void) sceneListWithHomeID: | (long long) | homeID | |
completion: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | completion | |
- (void) sceneListWithHomeID: | (long long) | homeID | |
completion: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | completion | |
- (void) sceneListWithHomeID: | (long long) | homeID | |
completion: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | completion | |
- (void) sceneListWithHomeID: | (long long) | homeID | |
completion: | (void(^)(NSArray< ThingSmartSceneModel * > *list)) | completion | |
+ (instancetype) sharedInstance |
Returns the singleton of the ThingSmartSceneManager class.
+ (instancetype) sharedInstance |
Returns the singleton of the ThingSmartSceneManager class.
+ (instancetype) sharedInstance |
Returns the singleton of the ThingSmartSceneManager class.
+ (instancetype) sharedInstance |
Returns the singleton of the ThingSmartSceneManager class.
- (void) sortSceneWithHomeId: | (long long) | homeId | |
room: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Sort scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) sortSceneWithHomeId: | (long long) | homeId | |
room: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Sort scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) sortSceneWithHomeId: | (long long) | homeId | |
room: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Sort scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) sortSceneWithHomeId: | (long long) | homeId | |
room: | (NSString *) | roomId | |
sceneIds: | (NSString *) | sceneIds | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Sort scenes in the specified room.
roomId | The room id. |
sceneIds | The scene id list, eg: "id1,id2,id3" |
success | Success callback. |
failure | Failure callback. |
- (void) sortSceneWithHomeId: | (long long) | homeId | |
sceneIdList: | (NSArray< NSString * > *) | sceneIdList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sort the scene list by the current home id.
homeId | The home ID. |
sceneIdList | The scene list that to be sorted. |
success | When success, return ThingSuccessHandler. |
failure | When error occurred, return ThingFailureError. |
- (void) sortSceneWithHomeId: | (long long) | homeId | |
sceneIdList: | (NSArray< NSString * > *) | sceneIdList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sort the scene list by the current home id.
homeId | The home ID. |
sceneIdList | The scene list that to be sorted. |
success | When success, return ThingSuccessHandler. |
failure | When error occurred, return ThingFailureError. |
- (void) sortSceneWithHomeId: | (long long) | homeId | |
sceneIdList: | (NSArray< NSString * > *) | sceneIdList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sort the scene list by the current home id.
homeId | The home ID. |
sceneIdList | The scene list that to be sorted. |
success | When success, return ThingSuccessHandler. |
failure | When error occurred, return ThingFailureError. |
- (void) sortSceneWithHomeId: | (long long) | homeId | |
sceneIdList: | (NSArray< NSString * > *) | sceneIdList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sort the scene list by the current home id.
homeId | The home ID. |
sceneIdList | The scene list that to be sorted. |
success | When success, return ThingSuccessHandler. |
failure | When error occurred, return ThingFailureError. |
- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: | (long long) | roomId |
Get status condition device list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: | (long long) | roomId |
Get status condition device list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: | (long long) | roomId |
Get status condition device list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: | (long long) | roomId |
Get status condition device list for action in the scene with specify the current room id.
roomId | The room ID. |
Provided by category ThingSmartSceneManager(Home).
- (void) unlikeRecommend: | (long long) | homeId | |
recomHandleParams: | (TSceneRecomHandleParams *) | params | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Unlike the recommend scene.
homeId | The home ID. |
params | The unlike request params. Detail see TSceneRecomHandleParams . |
success | The success callback. |
failure | The failure callback. |
- (void) unlikeRecommend: | (long long) | homeId | |
recomHandleParams: | (TSceneRecomHandleParams *) | params | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Unlike the recommend scene.
homeId | The home ID. |
params | The unlike request params. Detail see TSceneRecomHandleParams . |
success | The success callback. |
failure | The failure callback. |
- (void) unlikeRecommend: | (long long) | homeId | |
recomHandleParams: | (TSceneRecomHandleParams *) | params | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Unlike the recommend scene.
homeId | The home ID. |
params | The unlike request params. Detail see TSceneRecomHandleParams . |
success | The success callback. |
failure | The failure callback. |
- (void) unlikeRecommend: | (long long) | homeId | |
recomHandleParams: | (TSceneRecomHandleParams *) | params | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Unlike the recommend scene.
homeId | The home ID. |
params | The unlike request params. Detail see TSceneRecomHandleParams . |
success | The success callback. |
failure | The failure callback. |
- (void) updateMatchingDialogRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, cache less
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
- (void) updateMatchingDialogRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, cache less
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
- (void) updateMatchingDialogRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, cache less
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
- (void) updateMatchingDialogRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, cache less
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
- (void) updateMatchingRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, use cache
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
- (void) updateMatchingRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, use cache
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
- (void) updateMatchingRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, use cache
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
- (void) updateMatchingRecommendWithHomeId: | (long long) | homeId | |
success: | (ThingSuccessID) | successHandler | |
failure: | (ThingFailureError) | failureError | |
Get more recommended scenes, use cache
homeId | The home ID |
successHandler | When successfully update recommended scenes, this block will be called and return id object. |
failureError | When error occurred, this block will be called and return ThingFailureError. |
|
readnonatomicstrong |
Definition at line 44 of file ThingSmartSceneManager.h.
|
readnonatomicstrong |
Definition at line 42 of file ThingSmartSceneManager.h.
|
readwritenonatomicweak |
The delegate will be notified when the scene's contents change.
Definition at line 54 of file ThingSmartSceneManager.h.
|
readnonatomicstrong |
Definition at line 46 of file ThingSmartSceneManager.h.
|
readnonatomicstrong |
Definition at line 45 of file ThingSmartSceneManager.h.
|
readnonatomicstrong |
Definition at line 43 of file ThingSmartSceneManager.h.