Tuya iOS Smart Life App SDK 5.15.0
ThingSmartSceneManager Class Reference

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>

Inheritance diagram for ThingSmartSceneManager:

Instance Methods

(void) - getSimpleSceneListWithHomeId:success:failure:
 
(void) - getSceneListForHomePageWithHomeId:params:success:failure:
 
(void) - getSceneDetailWithHomeId:sceneId:success:failure:
 
(void) - fetchSceneDetailWithDetailParams:success:failure:
 
(void) - batchDeleteScenesWithSceneIds:homeId:success:failure:
 
(void) - executeSmartSceneWithId:Success:failure:
 
(void) - getStatusConditionDeviceListWithHomeId:success:failure:
 
(void) - getConditionDeviceListWithHomeId:success:failure:
 
(void) - getActionGroupListAndDeviceListWithHomeId:success:failure:
 
(void) - getFaceDeviceListWithHomeId:success:failure:
 
(void) - getLockDeviceListWithHomeId:success:failure:
 
(void) - getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure:
 
(void) - getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure:
 
(void) - getConditionExtendConfigWithHomeId:success:failure:
 
(void) - getActionExtendConfigWithHomeId:success:failure:
 
(void) - getStatusConditionDPListWithDevId:gid:success:failure:
 
(void) - getCondicationDeviceDPListWithDevId:success:failure:
 
(void) - getDPListV1ForConditionDeviceWithDevId:homeId:success:failure:
 
(void) - getNewActionDeviceDPListWithDevId:success:failure:
 
(void) - getNewActionGroupDPListWithGroupId:success:failure:
 
(void) - getCityListWithCountryCode:success:failure:
 
(void) - getCityInfoWithLatitude:longitude:success:failure:
 
(void) - getCityInfoWithCityId:success:failure:
 
(void) - getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure:
 
(void) - hasNewLogsWithHomeId:success:failure:
 
(void) - removeSceneWithHomeId:roomId:sceneIds:success:failure:
 
(void) - sortSceneWithHomeId:room:sceneIds:success:failure:
 
(void) - batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure:
 
(void) - getTopRecommendedSceneListWithHomeId:success:failure:
 
(void) - removeTopRecommendSceneWithHomeId:recommendId:success:failure:
 
(void) - getRecomSceneList:recomListParam:success:failure:
 
(void) - fetchRecommendListForDeviceIDs:homeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:deviceId:count:success:failure:
 
(void) - getRecommendSceneDetailWithSceneId:homeId:success:failure:
 
(void) - unlikeRecommend:recomHandleParams:success:failure:
 
(NSDictionary< NSString *, ThingSmartSceneModel * > *) - getCacheRecommendDeviceListWithHomeId:
 
(void) - sortSceneWithHomeId:sceneIdList:success:failure:
 
(void) - getSceneSecurityActionSwitch:failure:
 
(void) - getSmartSceneBackgroundCoverWithsuccess:failure:
 
(void) - getSmartSceneCustomStyleListWithSuccess:failure:
 
(void) - getSceneBizEntryListWithHomeId:success:failure:
 
(void) - cleanSceneCache
 clean scene caches More...
 
(void) - removeAllGeoFence
 Remove all geofence registered in the apple system for automation scene when user logout. More...
 
(void) - cancelRequest
 Cancel the request being executed. More...
 
(void) - replaceConidtionData:
 
(void) - replaceActionData:
 
(void) - replaceGroupData:
 
(void) - sceneListWithHomeID:completion:
 
(void) - updateMatchingRecommendWithHomeId:success:failure:
 
(void) - updateMatchingDialogRecommendWithHomeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:success:failure:
 
(void) - getCollectionSceneListWithHomeId:success:failure:
 
(void) - getRecommendDeviceListWithDevIds:homeId:success:failure:
 
(void) - getSceneListWithHomeId:success:failure:
 
(void) - getConditionListWithFahrenheit:success:failure:
 
(void) - getAllConditionListWithFahrenheit:homeId:success:failure:
 
(void) - getActionDeviceDPListWithDevId:success:failure:
 
(void) - getActionGroupDPListWithGroupId:success:failure:
 
(void) - getSimpleSceneListWithHomeId:success:failure:
 
(void) - getSceneListForHomePageWithHomeId:params:success:failure:
 
(void) - getSceneDetailWithHomeId:sceneId:success:failure:
 
(void) - fetchSceneDetailWithDetailParams:success:failure:
 
(void) - batchDeleteScenesWithSceneIds:homeId:success:failure:
 
(void) - executeSmartSceneWithId:Success:failure:
 
(void) - getStatusConditionDeviceListWithHomeId:success:failure:
 
(void) - getConditionDeviceListWithHomeId:success:failure:
 
(void) - getActionGroupListAndDeviceListWithHomeId:success:failure:
 
(void) - getFaceDeviceListWithHomeId:success:failure:
 
(void) - getLockDeviceListWithHomeId:success:failure:
 
(void) - getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure:
 
(void) - getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure:
 
(void) - getConditionExtendConfigWithHomeId:success:failure:
 
(void) - getActionExtendConfigWithHomeId:success:failure:
 
(void) - getStatusConditionDPListWithDevId:gid:success:failure:
 
(void) - getCondicationDeviceDPListWithDevId:success:failure:
 
(void) - getDPListV1ForConditionDeviceWithDevId:homeId:success:failure:
 
(void) - getNewActionDeviceDPListWithDevId:success:failure:
 
(void) - getNewActionGroupDPListWithGroupId:success:failure:
 
(void) - getCityListWithCountryCode:success:failure:
 
(void) - getCityInfoWithLatitude:longitude:success:failure:
 
(void) - getCityInfoWithCityId:success:failure:
 
(void) - getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure:
 
(void) - hasNewLogsWithHomeId:success:failure:
 
(void) - removeSceneWithHomeId:roomId:sceneIds:success:failure:
 
(void) - sortSceneWithHomeId:room:sceneIds:success:failure:
 
(void) - batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure:
 
(void) - getTopRecommendedSceneListWithHomeId:success:failure:
 
(void) - removeTopRecommendSceneWithHomeId:recommendId:success:failure:
 
(void) - getRecomSceneList:recomListParam:success:failure:
 
(void) - fetchRecommendListForDeviceIDs:homeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:deviceId:count:success:failure:
 
(void) - getRecommendSceneDetailWithSceneId:homeId:success:failure:
 
(void) - unlikeRecommend:recomHandleParams:success:failure:
 
(NSDictionary< NSString *, ThingSmartSceneModel * > *) - getCacheRecommendDeviceListWithHomeId:
 
(void) - sortSceneWithHomeId:sceneIdList:success:failure:
 
(void) - getSceneSecurityActionSwitch:failure:
 
(void) - getSmartSceneBackgroundCoverWithsuccess:failure:
 
(void) - getSmartSceneCustomStyleListWithSuccess:failure:
 
(void) - getSceneBizEntryListWithHomeId:success:failure:
 
(void) - cleanSceneCache
 clean scene caches More...
 
(void) - removeAllGeoFence
 Remove all geofence registered in the apple system for automation scene when user logout. More...
 
(void) - cancelRequest
 Cancel the request being executed. More...
 
(void) - replaceConidtionData:
 
(void) - replaceActionData:
 
(void) - replaceGroupData:
 
(void) - sceneListWithHomeID:completion:
 
(void) - updateMatchingRecommendWithHomeId:success:failure:
 
(void) - updateMatchingDialogRecommendWithHomeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:success:failure:
 
(void) - getCollectionSceneListWithHomeId:success:failure:
 
(void) - getRecommendDeviceListWithDevIds:homeId:success:failure:
 
(void) - getSceneListWithHomeId:success:failure:
 
(void) - getConditionListWithFahrenheit:success:failure:
 
(void) - getAllConditionListWithFahrenheit:homeId:success:failure:
 
(void) - getActionDeviceDPListWithDevId:success:failure:
 
(void) - getActionGroupDPListWithGroupId:success:failure:
 
(void) - getSimpleSceneListWithHomeId:success:failure:
 
(void) - getSceneListForHomePageWithHomeId:params:success:failure:
 
(void) - getSceneDetailWithHomeId:sceneId:success:failure:
 
(void) - fetchSceneDetailWithDetailParams:success:failure:
 
(void) - batchDeleteScenesWithSceneIds:homeId:success:failure:
 
(void) - executeSmartSceneWithId:Success:failure:
 
(void) - getStatusConditionDeviceListWithHomeId:success:failure:
 
(void) - getConditionDeviceListWithHomeId:success:failure:
 
(void) - getActionGroupListAndDeviceListWithHomeId:success:failure:
 
(void) - getFaceDeviceListWithHomeId:success:failure:
 
(void) - getLockDeviceListWithHomeId:success:failure:
 
(void) - getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure:
 
(void) - getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure:
 
(void) - getConditionExtendConfigWithHomeId:success:failure:
 
(void) - getActionExtendConfigWithHomeId:success:failure:
 
(void) - getStatusConditionDPListWithDevId:gid:success:failure:
 
(void) - getCondicationDeviceDPListWithDevId:success:failure:
 
(void) - getDPListV1ForConditionDeviceWithDevId:homeId:success:failure:
 
(void) - getNewActionDeviceDPListWithDevId:success:failure:
 
(void) - getNewActionGroupDPListWithGroupId:success:failure:
 
(void) - getCityListWithCountryCode:success:failure:
 
(void) - getCityInfoWithLatitude:longitude:success:failure:
 
(void) - getCityInfoWithCityId:success:failure:
 
(void) - getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure:
 
(void) - hasNewLogsWithHomeId:success:failure:
 
(void) - removeSceneWithHomeId:roomId:sceneIds:success:failure:
 
(void) - sortSceneWithHomeId:room:sceneIds:success:failure:
 
(void) - batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure:
 
(void) - getTopRecommendedSceneListWithHomeId:success:failure:
 
(void) - removeTopRecommendSceneWithHomeId:recommendId:success:failure:
 
(void) - getRecomSceneList:recomListParam:success:failure:
 
(void) - fetchRecommendListForDeviceIDs:homeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:deviceId:count:success:failure:
 
(void) - getRecommendSceneDetailWithSceneId:homeId:success:failure:
 
(void) - unlikeRecommend:recomHandleParams:success:failure:
 
(NSDictionary< NSString *, ThingSmartSceneModel * > *) - getCacheRecommendDeviceListWithHomeId:
 
(void) - sortSceneWithHomeId:sceneIdList:success:failure:
 
(void) - getSceneSecurityActionSwitch:failure:
 
(void) - getSmartSceneBackgroundCoverWithsuccess:failure:
 
(void) - getSmartSceneCustomStyleListWithSuccess:failure:
 
(void) - getSceneBizEntryListWithHomeId:success:failure:
 
(void) - cleanSceneCache
 clean scene caches More...
 
(void) - removeAllGeoFence
 Remove all geofence registered in the apple system for automation scene when user logout. More...
 
(void) - cancelRequest
 Cancel the request being executed. More...
 
(void) - replaceConidtionData:
 
(void) - replaceActionData:
 
(void) - replaceGroupData:
 
(void) - sceneListWithHomeID:completion:
 
(void) - updateMatchingRecommendWithHomeId:success:failure:
 
(void) - updateMatchingDialogRecommendWithHomeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:success:failure:
 
(void) - getCollectionSceneListWithHomeId:success:failure:
 
(void) - getRecommendDeviceListWithDevIds:homeId:success:failure:
 
(void) - getSceneListWithHomeId:success:failure:
 
(void) - getConditionListWithFahrenheit:success:failure:
 
(void) - getAllConditionListWithFahrenheit:homeId:success:failure:
 
(void) - getActionDeviceDPListWithDevId:success:failure:
 
(void) - getActionGroupDPListWithGroupId:success:failure:
 
(void) - getSimpleSceneListWithHomeId:success:failure:
 
(void) - getSceneListForHomePageWithHomeId:params:success:failure:
 
(void) - getSceneDetailWithHomeId:sceneId:success:failure:
 
(void) - fetchSceneDetailWithDetailParams:success:failure:
 
(void) - batchDeleteScenesWithSceneIds:homeId:success:failure:
 
(void) - executeSmartSceneWithId:Success:failure:
 
(void) - getStatusConditionDeviceListWithHomeId:success:failure:
 
(void) - getConditionDeviceListWithHomeId:success:failure:
 
(void) - getActionGroupListAndDeviceListWithHomeId:success:failure:
 
(void) - getFaceDeviceListWithHomeId:success:failure:
 
(void) - getLockDeviceListWithHomeId:success:failure:
 
(void) - getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure:
 
(void) - getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure:
 
(void) - getConditionExtendConfigWithHomeId:success:failure:
 
(void) - getActionExtendConfigWithHomeId:success:failure:
 
(void) - getStatusConditionDPListWithDevId:gid:success:failure:
 
(void) - getCondicationDeviceDPListWithDevId:success:failure:
 
(void) - getDPListV1ForConditionDeviceWithDevId:homeId:success:failure:
 
(void) - getNewActionDeviceDPListWithDevId:success:failure:
 
(void) - getNewActionGroupDPListWithGroupId:success:failure:
 
(void) - getCityListWithCountryCode:success:failure:
 
(void) - getCityInfoWithLatitude:longitude:success:failure:
 
(void) - getCityInfoWithCityId:success:failure:
 
(void) - getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure:
 
(void) - getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure:
 
(void) - hasNewLogsWithHomeId:success:failure:
 
(void) - removeSceneWithHomeId:roomId:sceneIds:success:failure:
 
(void) - sortSceneWithHomeId:room:sceneIds:success:failure:
 
(void) - batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure:
 
(void) - getTopRecommendedSceneListWithHomeId:success:failure:
 
(void) - removeTopRecommendSceneWithHomeId:recommendId:success:failure:
 
(void) - getRecomSceneList:recomListParam:success:failure:
 
(void) - fetchRecommendListForDeviceIDs:homeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:deviceId:count:success:failure:
 
(void) - getRecommendSceneDetailWithSceneId:homeId:success:failure:
 
(void) - unlikeRecommend:recomHandleParams:success:failure:
 
(NSDictionary< NSString *, ThingSmartSceneModel * > *) - getCacheRecommendDeviceListWithHomeId:
 
(void) - sortSceneWithHomeId:sceneIdList:success:failure:
 
(void) - getSceneSecurityActionSwitch:failure:
 
(void) - getSmartSceneBackgroundCoverWithsuccess:failure:
 
(void) - getSmartSceneCustomStyleListWithSuccess:failure:
 
(void) - getSceneBizEntryListWithHomeId:success:failure:
 
(void) - cleanSceneCache
 clean scene caches More...
 
(void) - removeAllGeoFence
 Remove all geofence registered in the apple system for automation scene when user logout. More...
 
(void) - cancelRequest
 Cancel the request being executed. More...
 
(void) - replaceConidtionData:
 
(void) - replaceActionData:
 
(void) - replaceGroupData:
 
(void) - sceneListWithHomeID:completion:
 
(void) - updateMatchingRecommendWithHomeId:success:failure:
 
(void) - updateMatchingDialogRecommendWithHomeId:success:failure:
 
(void) - getRecommendedSceneListWithHomeId:success:failure:
 
(void) - getCollectionSceneListWithHomeId:success:failure:
 
(void) - getRecommendDeviceListWithDevIds:homeId:success:failure:
 
(void) - getSceneListWithHomeId:success:failure:
 
(void) - getConditionListWithFahrenheit:success:failure:
 
(void) - getAllConditionListWithFahrenheit:homeId:success:failure:
 
(void) - getActionDeviceDPListWithDevId:success:failure:
 
(void) - getActionGroupDPListWithGroupId:success:failure:
 
(NSArray< ThingSmartDeviceModel * > *) - getActionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - getActionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - getActionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - getActionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - getConditionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - getConditionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - getConditionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - getConditionDeviceListWithRoomId:
 
(NSArray< ThingSmartGroupModel * > *) - getActionGroupListWithRoomId:
 
(NSArray< ThingSmartGroupModel * > *) - getActionGroupListWithRoomId:
 
(NSArray< ThingSmartGroupModel * > *) - getActionGroupListWithRoomId:
 
(NSArray< ThingSmartGroupModel * > *) - getActionGroupListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - statusConditionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - statusConditionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - statusConditionDeviceListWithRoomId:
 
(NSArray< ThingSmartDeviceModel * > *) - statusConditionDeviceListWithRoomId:
 
(void) - deleteBatchSmartScenesWithParams:commonParams:success:failure:
 
(void) - getActionDeviceListWithHomeId:success:failure:
 
(void) - deleteBatchSmartScenesWithParams:commonParams:success:failure:
 
(void) - getActionDeviceListWithHomeId:success:failure:
 
(void) - deleteBatchSmartScenesWithParams:commonParams:success:failure:
 
(void) - getActionDeviceListWithHomeId:success:failure:
 
(void) - deleteBatchSmartScenesWithParams:commonParams:success:failure:
 
(void) - getActionDeviceListWithHomeId:success:failure:
 

Class Methods

(instancetype) + sharedInstance
 
(instancetype) + sharedInstance
 
(instancetype) + sharedInstance
 
(instancetype) + sharedInstance
 

Properties

NSMutableArray * conditionData
 
NSMutableArray * statusConditionData
 
NSMutableArray * actionData
 
NSMutableArray * groupData
 
NSMutableDictionary * deviceIdToPidMap
 
id< ThingSmartSceneManagerDelegatedelegate
 The delegate will be notified when the scene's contents change. More...
 

Detailed Description

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.

Method Documentation

◆ batchDeleteScenesWithSceneIds:homeId:success:failure: [1/4]

- (void) batchDeleteScenesWithSceneIds: (NSArray< NSString * > *)  sceneIds
homeId: (long long)  homeId
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Batch delete scenes.

Parameters
sceneIds[sceneId1, sceneId2, sceneId3]
homeIdThe home id.
successSuccess callback.
failureFailure callback.

◆ batchDeleteScenesWithSceneIds:homeId:success:failure: [2/4]

- (void) batchDeleteScenesWithSceneIds: (NSArray< NSString * > *)  sceneIds
homeId: (long long)  homeId
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Batch delete scenes.

Parameters
sceneIds[sceneId1, sceneId2, sceneId3]
homeIdThe home id.
successSuccess callback.
failureFailure callback.

◆ batchDeleteScenesWithSceneIds:homeId:success:failure: [3/4]

- (void) batchDeleteScenesWithSceneIds: (NSArray< NSString * > *)  sceneIds
homeId: (long long)  homeId
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Batch delete scenes.

Parameters
sceneIds[sceneId1, sceneId2, sceneId3]
homeIdThe home id.
successSuccess callback.
failureFailure callback.

◆ batchDeleteScenesWithSceneIds:homeId:success:failure: [4/4]

- (void) batchDeleteScenesWithSceneIds: (NSArray< NSString * > *)  sceneIds
homeId: (long long)  homeId
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Batch delete scenes.

Parameters
sceneIds[sceneId1, sceneId2, sceneId3]
homeIdThe home id.
successSuccess callback.
failureFailure callback.

◆ batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure: [1/4]

- (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.

Parameters
gidThe home id.
ruleIdsThe scene id list.
roomIdsThe room id list.
successSuccess callback.
failureFailure callback.

◆ batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure: [2/4]

- (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.

Parameters
gidThe home id.
ruleIdsThe scene id list.
roomIdsThe room id list.
successSuccess callback.
failureFailure callback.

◆ batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure: [3/4]

- (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.

Parameters
gidThe home id.
ruleIdsThe scene id list.
roomIdsThe room id list.
successSuccess callback.
failureFailure callback.

◆ batchSaveSceneInRoomsWithGid:ruleIds:roomIds:success:failure: [4/4]

- (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.

Parameters
gidThe home id.
ruleIdsThe scene id list.
roomIdsThe room id list.
successSuccess callback.
failureFailure callback.

◆ cancelRequest [1/4]

- (void) cancelRequest

Cancel the request being executed.

◆ cancelRequest [2/4]

- (void) cancelRequest

Cancel the request being executed.

◆ cancelRequest [3/4]

- (void) cancelRequest

Cancel the request being executed.

◆ cancelRequest [4/4]

- (void) cancelRequest

Cancel the request being executed.

◆ cleanSceneCache [1/4]

- (void) cleanSceneCache

clean scene caches

◆ cleanSceneCache [2/4]

- (void) cleanSceneCache

clean scene caches

◆ cleanSceneCache [3/4]

- (void) cleanSceneCache

clean scene caches

◆ cleanSceneCache [4/4]

- (void) cleanSceneCache

clean scene caches

◆ deleteBatchSmartScenesWithParams:commonParams:success:failure: [1/4]

- (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.

Parameters
params"ruleIds": "id1,id2,id3"}.
commonsCommon params.
successSuccess callback.
failureFailure callback.

◆ deleteBatchSmartScenesWithParams:commonParams:success:failure: [2/4]

- (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.

Parameters
params"ruleIds": "id1,id2,id3"}.
commonsCommon params.
successSuccess callback.
failureFailure callback.

◆ deleteBatchSmartScenesWithParams:commonParams:success:failure: [3/4]

- (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.

Parameters
params"ruleIds": "id1,id2,id3"}.
commonsCommon params.
successSuccess callback.
failureFailure callback.

◆ deleteBatchSmartScenesWithParams:commonParams:success:failure: [4/4]

- (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.

Parameters
params"ruleIds": "id1,id2,id3"}.
commonsCommon params.
successSuccess callback.
failureFailure callback.

◆ executeSmartSceneWithId:Success:failure: [1/4]

- (void) executeSmartSceneWithId: (NSString *)  sceneId
Success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Execute scene in the cloud.

Parameters
sceneIdThe scene ID.
successWhen success, description the scene is excuted successfully.
failureWhen error occurred, return error.

◆ executeSmartSceneWithId:Success:failure: [2/4]

- (void) executeSmartSceneWithId: (NSString *)  sceneId
Success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Execute scene in the cloud.

Parameters
sceneIdThe scene ID.
successWhen success, description the scene is excuted successfully.
failureWhen error occurred, return error.

◆ executeSmartSceneWithId:Success:failure: [3/4]

- (void) executeSmartSceneWithId: (NSString *)  sceneId
Success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Execute scene in the cloud.

Parameters
sceneIdThe scene ID.
successWhen success, description the scene is excuted successfully.
failureWhen error occurred, return error.

◆ executeSmartSceneWithId:Success:failure: [4/4]

- (void) executeSmartSceneWithId: (NSString *)  sceneId
Success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Execute scene in the cloud.

Parameters
sceneIdThe scene ID.
successWhen success, description the scene is excuted successfully.
failureWhen error occurred, return error.

◆ fetchRecommendListForDeviceIDs:homeId:success:failure: [1/4]

- (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.

Parameters
deviceIDsThe device IDs array.
homeIdThe home ID.
successThe success callback.
failureThe failure callback.

◆ fetchRecommendListForDeviceIDs:homeId:success:failure: [2/4]

- (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.

Parameters
deviceIDsThe device IDs array.
homeIdThe home ID.
successThe success callback.
failureThe failure callback.

◆ fetchRecommendListForDeviceIDs:homeId:success:failure: [3/4]

- (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.

Parameters
deviceIDsThe device IDs array.
homeIdThe home ID.
successThe success callback.
failureThe failure callback.

◆ fetchRecommendListForDeviceIDs:homeId:success:failure: [4/4]

- (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.

Parameters
deviceIDsThe device IDs array.
homeIdThe home ID.
successThe success callback.
failureThe failure callback.

◆ fetchSceneDetailWithDetailParams:success:failure: [1/4]

- (void) fetchSceneDetailWithDetailParams: (TSceneDetailParams *)  detailParams
success: (ThingSceneGetModelCompletion success
failure: (ThingFailureError failure 

Get scene detail information with the detail request parameter infomation.

Parameters
detailParamsThe detail request params.
successWhen successfully return the scene detail model.
failureWhen error occurred return the failure error.

◆ fetchSceneDetailWithDetailParams:success:failure: [2/4]

- (void) fetchSceneDetailWithDetailParams: (TSceneDetailParams *)  detailParams
success: (ThingSceneGetModelCompletion success
failure: (ThingFailureError failure 

Get scene detail information with the detail request parameter infomation.

Parameters
detailParamsThe detail request params.
successWhen successfully return the scene detail model.
failureWhen error occurred return the failure error.

◆ fetchSceneDetailWithDetailParams:success:failure: [3/4]

- (void) fetchSceneDetailWithDetailParams: (TSceneDetailParams *)  detailParams
success: (ThingSceneGetModelCompletion success
failure: (ThingFailureError failure 

Get scene detail information with the detail request parameter infomation.

Parameters
detailParamsThe detail request params.
successWhen successfully return the scene detail model.
failureWhen error occurred return the failure error.

◆ fetchSceneDetailWithDetailParams:success:failure: [4/4]

- (void) fetchSceneDetailWithDetailParams: (TSceneDetailParams *)  detailParams
success: (ThingSceneGetModelCompletion success
failure: (ThingFailureError failure 

Get scene detail information with the detail request parameter infomation.

Parameters
detailParamsThe detail request params.
successWhen successfully return the scene detail model.
failureWhen error occurred return the failure error.

◆ getActionDeviceDPListWithDevId:success:failure: [1/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceDPListWithDevId:success:failure: [2/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceDPListWithDevId:success:failure: [3/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceDPListWithDevId:success:failure: [4/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceListWithHomeId:success:failure: [1/4]

- (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.

Parameters
homeIdThe current home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceListWithHomeId:success:failure: [2/4]

- (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.

Parameters
homeIdThe current home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceListWithHomeId:success:failure: [3/4]

- (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.

Parameters
homeIdThe current home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceListWithHomeId:success:failure: [4/4]

- (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.

Parameters
homeIdThe current home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionDeviceListWithRoomId: [1/4]

- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: (long long)  roomId

Get action device list in the current room with the specify room id.

Parameters
roomIdThe room ID.

@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getActionDeviceListWithRoomId: [2/4]

- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: (long long)  roomId

Get action device list in the current room with the specify room id.

Parameters
roomIdThe room ID.

@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getActionDeviceListWithRoomId: [3/4]

- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: (long long)  roomId

Get action device list in the current room with the specify room id.

Parameters
roomIdThe room ID.

@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getActionDeviceListWithRoomId: [4/4]

- (NSArray< ThingSmartDeviceModel * > *) getActionDeviceListWithRoomId: (long long)  roomId

Get action device list in the current room with the specify room id.

Parameters
roomIdThe room ID.

@retrun The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getActionExtendConfigWithHomeId:success:failure: [1/4]

- (void) getActionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getActionExtendConfigWithHomeId:success:failure: [2/4]

- (void) getActionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getActionExtendConfigWithHomeId:success:failure: [3/4]

- (void) getActionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getActionExtendConfigWithHomeId:success:failure: [4/4]

- (void) getActionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getActionGroupDPListWithGroupId:success:failure: [1/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupDPListWithGroupId:success:failure: [2/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupDPListWithGroupId:success:failure: [3/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupDPListWithGroupId:success:failure: [4/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupListAndDeviceListWithHomeId:success:failure: [1/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return map object, including deviceList、groupList and extendsDictionary object.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupListAndDeviceListWithHomeId:success:failure: [2/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return map object, including deviceList、groupList and extendsDictionary object.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupListAndDeviceListWithHomeId:success:failure: [3/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return map object, including deviceList、groupList and extendsDictionary object.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupListAndDeviceListWithHomeId:success:failure: [4/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return map object, including deviceList、groupList and extendsDictionary object.
failureWhen error occurred, return ThingFailureError.

◆ getActionGroupListWithRoomId: [1/4]

- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: (long long)  roomId

Get group list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartGroupModel list for action in the scene, more information you can see ThingSmartGroupModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getActionGroupListWithRoomId: [2/4]

- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: (long long)  roomId

Get group list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartGroupModel list for action in the scene, more information you can see ThingSmartGroupModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getActionGroupListWithRoomId: [3/4]

- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: (long long)  roomId

Get group list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartGroupModel list for action in the scene, more information you can see ThingSmartGroupModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getActionGroupListWithRoomId: [4/4]

- (NSArray< ThingSmartGroupModel * > *) getActionGroupListWithRoomId: (long long)  roomId

Get group list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartGroupModel list for action in the scene, more information you can see ThingSmartGroupModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getAllConditionListWithFahrenheit:homeId:success:failure: [1/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getAllConditionListWithFahrenheit:homeId:success:failure: [2/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getAllConditionListWithFahrenheit:homeId:success:failure: [3/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getAllConditionListWithFahrenheit:homeId:success:failure: [4/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure: [1/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
speedUnitThe speed unit description.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure: [2/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
speedUnitThe speed unit description.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure: [3/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
speedUnitThe speed unit description.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure: [4/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
speedUnitThe speed unit description.
homeIdThe current home ID.
successWhen success, return map object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getCacheRecommendDeviceListWithHomeId: [1/4]

- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: (long long)  homeId

Return the cached device recommended scene list

Parameters
homeIdhome id

◆ getCacheRecommendDeviceListWithHomeId: [2/4]

- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: (long long)  homeId

Return the cached device recommended scene list

Parameters
homeIdhome id

◆ getCacheRecommendDeviceListWithHomeId: [3/4]

- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: (long long)  homeId

Return the cached device recommended scene list

Parameters
homeIdhome id

◆ getCacheRecommendDeviceListWithHomeId: [4/4]

- (NSDictionary< NSString *, ThingSmartSceneModel * > *) getCacheRecommendDeviceListWithHomeId: (long long)  homeId

Return the cached device recommended scene list

Parameters
homeIdhome id

◆ getCityInfoWithCityId:success:failure: [1/4]

- (void) getCityInfoWithCityId: (NSString *)  cityId
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the city id.

Parameters
cityIdThe city ID.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityInfoWithCityId:success:failure: [2/4]

- (void) getCityInfoWithCityId: (NSString *)  cityId
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the city id.

Parameters
cityIdThe city ID.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityInfoWithCityId:success:failure: [3/4]

- (void) getCityInfoWithCityId: (NSString *)  cityId
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the city id.

Parameters
cityIdThe city ID.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityInfoWithCityId:success:failure: [4/4]

- (void) getCityInfoWithCityId: (NSString *)  cityId
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the city id.

Parameters
cityIdThe city ID.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityInfoWithLatitude:longitude:success:failure: [1/4]

- (void) getCityInfoWithLatitude: (NSString *)  latitude
longitude: (NSString *)  longitude
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the latitude and longitude.

Parameters
latitudeThe latitude.
longitudeThe longitude.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityInfoWithLatitude:longitude:success:failure: [2/4]

- (void) getCityInfoWithLatitude: (NSString *)  latitude
longitude: (NSString *)  longitude
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the latitude and longitude.

Parameters
latitudeThe latitude.
longitudeThe longitude.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityInfoWithLatitude:longitude:success:failure: [3/4]

- (void) getCityInfoWithLatitude: (NSString *)  latitude
longitude: (NSString *)  longitude
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the latitude and longitude.

Parameters
latitudeThe latitude.
longitudeThe longitude.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityInfoWithLatitude:longitude:success:failure: [4/4]

- (void) getCityInfoWithLatitude: (NSString *)  latitude
longitude: (NSString *)  longitude
success: (ThingSceneGetCityInfoCompletion success
failure: (ThingFailureError failure 

Get city detail information with specify the latitude and longitude.

Parameters
latitudeThe latitude.
longitudeThe longitude.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityListWithCountryCode:success:failure: [1/4]

- (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.

Parameters
countryCodeThe country code.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityListWithCountryCode:success:failure: [2/4]

- (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.

Parameters
countryCodeThe country code.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityListWithCountryCode:success:failure: [3/4]

- (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.

Parameters
countryCodeThe country code.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCityListWithCountryCode:success:failure: [4/4]

- (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.

Parameters
countryCodeThe country code.
successWhen success, return ThingSmartCityModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCollectionSceneListWithHomeId:success:failure: [1/4]

- (void) getCollectionSceneListWithHomeId: (long long)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get collection scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCollectionSceneListWithHomeId:success:failure: [2/4]

- (void) getCollectionSceneListWithHomeId: (long long)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get collection scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCollectionSceneListWithHomeId:success:failure: [3/4]

- (void) getCollectionSceneListWithHomeId: (long long)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get collection scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCollectionSceneListWithHomeId:success:failure: [4/4]

- (void) getCollectionSceneListWithHomeId: (long long)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get collection scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getCondicationDeviceDPListWithDevId:success:failure: [1/4]

- (void) getCondicationDeviceDPListWithDevId: (NSString *)  devId
success: (ThingSceneGetDPListCompletion success
failure: (ThingFailureError failure 

Get device dp list for condition in the scene with specify the device id.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device.
failureWhen error occurred, return ThingFailureError.

◆ getCondicationDeviceDPListWithDevId:success:failure: [2/4]

- (void) getCondicationDeviceDPListWithDevId: (NSString *)  devId
success: (ThingSceneGetDPListCompletion success
failure: (ThingFailureError failure 

Get device dp list for condition in the scene with specify the device id.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device.
failureWhen error occurred, return ThingFailureError.

◆ getCondicationDeviceDPListWithDevId:success:failure: [3/4]

- (void) getCondicationDeviceDPListWithDevId: (NSString *)  devId
success: (ThingSceneGetDPListCompletion success
failure: (ThingFailureError failure 

Get device dp list for condition in the scene with specify the device id.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device.
failureWhen error occurred, return ThingFailureError.

◆ getCondicationDeviceDPListWithDevId:success:failure: [4/4]

- (void) getCondicationDeviceDPListWithDevId: (NSString *)  devId
success: (ThingSceneGetDPListCompletion success
failure: (ThingFailureError failure 

Get device dp list for condition in the scene with specify the device id.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneDPModel list. The ThingSmartSceneDPModel object describes the datapoint data of the device.
failureWhen error occurred, return ThingFailureError.

◆ getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure: [1/4]

- (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.

Parameters
homeIdThe home ID.
paramsThe request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object.
successWhen success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure: [2/4]

- (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.

Parameters
homeIdThe home ID.
paramsThe request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object.
successWhen success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure: [3/4]

- (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.

Parameters
homeIdThe home ID.
paramsThe request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object.
successWhen success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getConditionCategoryListWihtHomeId:conditionCategoryParams:success:failure: [4/4]

- (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.

Parameters
homeIdThe home ID.
paramsThe request category list params, include fahrenheit, speedUnit, detail see TSceneConditionCategoryListRequestParams object.
successWhen success, return ThingSmartSceneConditionCategoryListModel object, including envConditions and devConditions object.
failureWhen error occurred, return ThingFailureError.

◆ getConditionDeviceListWithHomeId:success:failure: [1/4]

- (void) getConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get condition device list in the scene with specify the current home id

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getConditionDeviceListWithHomeId:success:failure: [2/4]

- (void) getConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get condition device list in the scene with specify the current home id

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getConditionDeviceListWithHomeId:success:failure: [3/4]

- (void) getConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get condition device list in the scene with specify the current home id

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getConditionDeviceListWithHomeId:success:failure: [4/4]

- (void) getConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get condition device list in the scene with specify the current home id

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getConditionDeviceListWithRoomId: [1/4]

- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: (long long)  roomId

Get condition device list for the current room in the scene with specify room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getConditionDeviceListWithRoomId: [2/4]

- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: (long long)  roomId

Get condition device list for the current room in the scene with specify room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getConditionDeviceListWithRoomId: [3/4]

- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: (long long)  roomId

Get condition device list for the current room in the scene with specify room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getConditionDeviceListWithRoomId: [4/4]

- (NSArray< ThingSmartDeviceModel * > *) getConditionDeviceListWithRoomId: (long long)  roomId

Get condition device list for the current room in the scene with specify room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ getConditionExtendConfigWithHomeId:success:failure: [1/4]

- (void) getConditionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getConditionExtendConfigWithHomeId:success:failure: [2/4]

- (void) getConditionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getConditionExtendConfigWithHomeId:success:failure: [3/4]

- (void) getConditionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getConditionExtendConfigWithHomeId:success:failure: [4/4]

- (void) getConditionExtendConfigWithHomeId: (long long)  homeId
success: (void(^)(ThingSmartSceneConditionExtendConfigList *categoryListModel))  success
failure: (ThingFailureError failure 

◆ getConditionListWithFahrenheit:success:failure: [1/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getConditionListWithFahrenheit:success:failure: [2/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getConditionListWithFahrenheit:success:failure: [3/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getConditionListWithFahrenheit:success:failure: [4/4]

- (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.

Parameters
fahrenheitIf YES, indicate the temperature unit is Fahrenheit, otherwise Celsius.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError.
Deprecated:
This method is deprecated, Use getAllConditionListWithFahrenheit:windSpeedUnit:homeId:success:failure instead.

◆ getDPListV1ForConditionDeviceWithDevId:homeId:success:failure: [1/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getDPListV1ForConditionDeviceWithDevId:homeId:success:failure: [2/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getDPListV1ForConditionDeviceWithDevId:homeId:success:failure: [3/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getDPListV1ForConditionDeviceWithDevId:homeId:success:failure: [4/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getFaceDeviceListWithHomeId:success:failure: [1/4]

- (void) getFaceDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get device list for recognize face condition type with specify current home id.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getFaceDeviceListWithHomeId:success:failure: [2/4]

- (void) getFaceDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get device list for recognize face condition type with specify current home id.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getFaceDeviceListWithHomeId:success:failure: [3/4]

- (void) getFaceDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get device list for recognize face condition type with specify current home id.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getFaceDeviceListWithHomeId:success:failure: [4/4]

- (void) getFaceDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get device list for recognize face condition type with specify current home id.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list.
failureWhen error occurred, return ThingFailureError.

◆ getLockDeviceListWithHomeId:success:failure: [1/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list for member lock condition.
failureWhen error occurred, return ThingFailureError.

◆ getLockDeviceListWithHomeId:success:failure: [2/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list for member lock condition.
failureWhen error occurred, return ThingFailureError.

◆ getLockDeviceListWithHomeId:success:failure: [3/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list for member lock condition.
failureWhen error occurred, return ThingFailureError.

◆ getLockDeviceListWithHomeId:success:failure: [4/4]

- (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.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartDeviceModel list for member lock condition.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionDeviceDPListWithDevId:success:failure: [1/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionDeviceDPListWithDevId:success:failure: [2/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionDeviceDPListWithDevId:success:failure: [3/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionDeviceDPListWithDevId:success:failure: [4/4]

- (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.

Parameters
devIdThe device ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionGroupDPListWithGroupId:success:failure: [1/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionGroupDPListWithGroupId:success:failure: [2/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionGroupDPListWithGroupId:success:failure: [3/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getNewActionGroupDPListWithGroupId:success:failure: [4/4]

- (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.

Parameters
groupIdThe group ID.
successWhen success, return ThingSmartSceneCoreFeatureModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendDeviceListWithDevIds:homeId:success:failure: [1/4]

- (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.

Parameters
devIdsdeviceId list
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecommendDeviceListWithDevIds:homeId:success:failure: [2/4]

- (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.

Parameters
devIdsdeviceId list
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecommendDeviceListWithDevIds:homeId:success:failure: [3/4]

- (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.

Parameters
devIdsdeviceId list
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecommendDeviceListWithDevIds:homeId:success:failure: [4/4]

- (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.

Parameters
devIdsdeviceId list
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecommendedSceneListWithHomeId:deviceId:count:success:failure: [1/4]

- (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.

Parameters
homeIdThe home ID.
deviceIdThe device ID.
countThe request count.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendedSceneListWithHomeId:deviceId:count:success:failure: [2/4]

- (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.

Parameters
homeIdThe home ID.
deviceIdThe device ID.
countThe request count.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendedSceneListWithHomeId:deviceId:count:success:failure: [3/4]

- (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.

Parameters
homeIdThe home ID.
deviceIdThe device ID.
countThe request count.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendedSceneListWithHomeId:deviceId:count:success:failure: [4/4]

- (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.

Parameters
homeIdThe home ID.
deviceIdThe device ID.
countThe request count.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendedSceneListWithHomeId:success:failure: [1/4]

- (void) getRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendedSceneListWithHomeId:success:failure: [2/4]

- (void) getRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendedSceneListWithHomeId:success:failure: [3/4]

- (void) getRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendedSceneListWithHomeId:success:failure: [4/4]

- (void) getRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getRecommendSceneDetailWithSceneId:homeId:success:failure: [1/4]

- (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.

Parameters
sceneIdscene id
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecommendSceneDetailWithSceneId:homeId:success:failure: [2/4]

- (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.

Parameters
sceneIdscene id
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecommendSceneDetailWithSceneId:homeId:success:failure: [3/4]

- (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.

Parameters
sceneIdscene id
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecommendSceneDetailWithSceneId:homeId:success:failure: [4/4]

- (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.

Parameters
sceneIdscene id
homeIdhome id
successSuccess callback.
failureFailure callback.

◆ getRecomSceneList:recomListParam:success:failure: [1/4]

- (void) getRecomSceneList: (long long)  homeId
recomListParam: (TSceneRecomListParams *)  params
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list.

Parameters
homeIdHome ID.
paramsThe request params object, detail see TSceneRecomListParams
successThe success callback.
failureThe failure callback.

◆ getRecomSceneList:recomListParam:success:failure: [2/4]

- (void) getRecomSceneList: (long long)  homeId
recomListParam: (TSceneRecomListParams *)  params
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list.

Parameters
homeIdHome ID.
paramsThe request params object, detail see TSceneRecomListParams
successThe success callback.
failureThe failure callback.

◆ getRecomSceneList:recomListParam:success:failure: [3/4]

- (void) getRecomSceneList: (long long)  homeId
recomListParam: (TSceneRecomListParams *)  params
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list.

Parameters
homeIdHome ID.
paramsThe request params object, detail see TSceneRecomListParams
successThe success callback.
failureThe failure callback.

◆ getRecomSceneList:recomListParam:success:failure: [4/4]

- (void) getRecomSceneList: (long long)  homeId
recomListParam: (TSceneRecomListParams *)  params
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get recommend scene list.

Parameters
homeIdHome ID.
paramsThe request params object, detail see TSceneRecomListParams
successThe success callback.
failureThe failure callback.

◆ getSceneBizEntryListWithHomeId:success:failure: [1/4]

- (void) getSceneBizEntryListWithHomeId: (NSString *)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get a scenes list of other types, such as lighting, community, real estate.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneBizEntryModel list.s
failureWhen error occurred, return error.

◆ getSceneBizEntryListWithHomeId:success:failure: [2/4]

- (void) getSceneBizEntryListWithHomeId: (NSString *)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get a scenes list of other types, such as lighting, community, real estate.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneBizEntryModel list.s
failureWhen error occurred, return error.

◆ getSceneBizEntryListWithHomeId:success:failure: [3/4]

- (void) getSceneBizEntryListWithHomeId: (NSString *)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get a scenes list of other types, such as lighting, community, real estate.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneBizEntryModel list.s
failureWhen error occurred, return error.

◆ getSceneBizEntryListWithHomeId:success:failure: [4/4]

- (void) getSceneBizEntryListWithHomeId: (NSString *)  homeId
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get a scenes list of other types, such as lighting, community, real estate.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneBizEntryModel list.s
failureWhen error occurred, return error.

◆ getSceneDetailWithHomeId:sceneId:success:failure: [1/4]

- (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.

Parameters
homeIdThe home ID.
sceneIdThe scene ID.
successWhen successfully get scene detail, this block will be called and return ThingSmartSceneModel object.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneDetailWithHomeId:sceneId:success:failure: [2/4]

- (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.

Parameters
homeIdThe home ID.
sceneIdThe scene ID.
successWhen successfully get scene detail, this block will be called and return ThingSmartSceneModel object.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneDetailWithHomeId:sceneId:success:failure: [3/4]

- (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.

Parameters
homeIdThe home ID.
sceneIdThe scene ID.
successWhen successfully get scene detail, this block will be called and return ThingSmartSceneModel object.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneDetailWithHomeId:sceneId:success:failure: [4/4]

- (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.

Parameters
homeIdThe home ID.
sceneIdThe scene ID.
successWhen successfully get scene detail, this block will be called and return ThingSmartSceneModel object.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneListForHomePageWithHomeId:params:success:failure: [1/4]

- (void) getSceneListForHomePageWithHomeId: (long long)  homeId
params: (ThingSmartHomePageSceneParams *)  params
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get the scene list by ThingSmartHomePageSceneParams request params.

Parameters
homeIdThe home ID.
paramsThe request params, detail see ThingSmartHomePageSceneParams object.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getSceneListForHomePageWithHomeId:params:success:failure: [2/4]

- (void) getSceneListForHomePageWithHomeId: (long long)  homeId
params: (ThingSmartHomePageSceneParams *)  params
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get the scene list by ThingSmartHomePageSceneParams request params.

Parameters
homeIdThe home ID.
paramsThe request params, detail see ThingSmartHomePageSceneParams object.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getSceneListForHomePageWithHomeId:params:success:failure: [3/4]

- (void) getSceneListForHomePageWithHomeId: (long long)  homeId
params: (ThingSmartHomePageSceneParams *)  params
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get the scene list by ThingSmartHomePageSceneParams request params.

Parameters
homeIdThe home ID.
paramsThe request params, detail see ThingSmartHomePageSceneParams object.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getSceneListForHomePageWithHomeId:params:success:failure: [4/4]

- (void) getSceneListForHomePageWithHomeId: (long long)  homeId
params: (ThingSmartHomePageSceneParams *)  params
success: (ThingSuccessList success
failure: (ThingFailureError failure 

Get the scene list by ThingSmartHomePageSceneParams request params.

Parameters
homeIdThe home ID.
paramsThe request params, detail see ThingSmartHomePageSceneParams object.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getSceneListWithHomeId:success:failure: [1/4]

- (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.

See also
For more information about the entityType, you can see ThingSmartSceneConditionModel class.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneListWithHomeId:success:failure: [2/4]

- (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.

See also
For more information about the entityType, you can see ThingSmartSceneConditionModel class.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneListWithHomeId:success:failure: [3/4]

- (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.

See also
For more information about the entityType, you can see ThingSmartSceneConditionModel class.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneListWithHomeId:success:failure: [4/4]

- (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.

See also
For more information about the entityType, you can see ThingSmartSceneConditionModel class.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSceneSecurityActionSwitch:failure: [1/4]

- (void) getSceneSecurityActionSwitch: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Determine whether to display security actions based on the AppId

Parameters
successWhen success, return YES if the App should show security action item, otherwise NO.
failureWhen error occurred, return NSError object.

◆ getSceneSecurityActionSwitch:failure: [2/4]

- (void) getSceneSecurityActionSwitch: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Determine whether to display security actions based on the AppId

Parameters
successWhen success, return YES if the App should show security action item, otherwise NO.
failureWhen error occurred, return NSError object.

◆ getSceneSecurityActionSwitch:failure: [3/4]

- (void) getSceneSecurityActionSwitch: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Determine whether to display security actions based on the AppId

Parameters
successWhen success, return YES if the App should show security action item, otherwise NO.
failureWhen error occurred, return NSError object.

◆ getSceneSecurityActionSwitch:failure: [4/4]

- (void) getSceneSecurityActionSwitch: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Determine whether to display security actions based on the AppId

Parameters
successWhen success, return YES if the App should show security action item, otherwise NO.
failureWhen error occurred, return NSError object.

◆ getSimpleSceneListWithHomeId:success:failure: [1/4]

- (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.

Note
The different between the simple scene list and scene list is less json data returned by the server.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSimpleSceneListWithHomeId:success:failure: [2/4]

- (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.

Note
The different between the simple scene list and scene list is less json data returned by the server.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSimpleSceneListWithHomeId:success:failure: [3/4]

- (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.

Note
The different between the simple scene list and scene list is less json data returned by the server.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSimpleSceneListWithHomeId:success:failure: [4/4]

- (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.

Note
The different between the simple scene list and scene list is less json data returned by the server.
Parameters
homeIdThe current home ID.
successWhen successfully get the scene list, this block will be called and return ThingSmartSceneModel list.
failureWhen error occurred, this block will be called and return ThingFailureError.

◆ getSmartSceneBackgroundCoverWithsuccess:failure: [1/4]

- (void) getSmartSceneBackgroundCoverWithsuccess: (ThingSuccessList success
failure: (ThingFailureError failure 

Get scene background icons URL list.

Parameters
successWhen success, return URL list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneBackgroundCoverWithsuccess:failure: [2/4]

- (void) getSmartSceneBackgroundCoverWithsuccess: (ThingSuccessList success
failure: (ThingFailureError failure 

Get scene background icons URL list.

Parameters
successWhen success, return URL list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneBackgroundCoverWithsuccess:failure: [3/4]

- (void) getSmartSceneBackgroundCoverWithsuccess: (ThingSuccessList success
failure: (ThingFailureError failure 

Get scene background icons URL list.

Parameters
successWhen success, return URL list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneBackgroundCoverWithsuccess:failure: [4/4]

- (void) getSmartSceneBackgroundCoverWithsuccess: (ThingSuccessList success
failure: (ThingFailureError failure 

Get scene background icons URL list.

Parameters
successWhen success, return URL list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneCustomStyleListWithSuccess:failure: [1/4]

- (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.

Parameters
successWhen success, return map object, including coverColors、coverIconList and coverPics object.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneCustomStyleListWithSuccess:failure: [2/4]

- (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.

Parameters
successWhen success, return map object, including coverColors、coverIconList and coverPics object.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneCustomStyleListWithSuccess:failure: [3/4]

- (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.

Parameters
successWhen success, return map object, including coverColors、coverIconList and coverPics object.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneCustomStyleListWithSuccess:failure: [4/4]

- (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.

Parameters
successWhen success, return map object, including coverColors、coverIconList and coverPics object.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure: [1/4]

- (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.

Parameters
homeIdThe home ID.
eventIdThe event ID.
startTimeThe start date.
endTimeThe end date.
returnTypeThe return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0.
successWhen success, return ThingSmartSceneLogDetailModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure: [2/4]

- (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.

Parameters
homeIdThe home ID.
eventIdThe event ID.
startTimeThe start date.
endTimeThe end date.
returnTypeThe return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0.
successWhen success, return ThingSmartSceneLogDetailModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure: [3/4]

- (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.

Parameters
homeIdThe home ID.
eventIdThe event ID.
startTimeThe start date.
endTimeThe end date.
returnTypeThe return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0.
successWhen success, return ThingSmartSceneLogDetailModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogDetailWithHomeId:eventId:startTime:endTime:returnType:success:failure: [4/4]

- (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.

Parameters
homeIdThe home ID.
eventIdThe event ID.
startTimeThe start date.
endTimeThe end date.
returnTypeThe return type. Return the all details when you pass the type equal 1, and return failure details when you pass the type equal 0.
successWhen success, return ThingSmartSceneLogDetailModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [1/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [2/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [3/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogOfDeviceWithDevId:homeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [4/4]

- (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.

Parameters
devIdThe device ID.
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [1/4]

- (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.

Parameters
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [2/4]

- (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.

Parameters
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [3/4]

- (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.

Parameters
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getSmartSceneLogWithHomeId:startTime:endTime:size:lastId:lastRecordTime:success:failure: [4/4]

- (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.

Parameters
homeIdThe home ID.
startTimeThe start date.
endTimeThe end date.
sizeThe number of items to be queried.
lastIdThe id of the last query item.
lastRecordTimeThe record date of the last query item.
successWhen success, return ThingSmartSceneLogModel list.
failureWhen error occurred, return ThingFailureError.

◆ getStatusConditionDeviceListWithHomeId:success:failure: [1/4]

- (void) getStatusConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get the list of status condition device list.

Parameters
homeIdThe homeID.
successWhen success, return device list of status condition.
failureWhen error occurred, return error.

◆ getStatusConditionDeviceListWithHomeId:success:failure: [2/4]

- (void) getStatusConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get the list of status condition device list.

Parameters
homeIdThe homeID.
successWhen success, return device list of status condition.
failureWhen error occurred, return error.

◆ getStatusConditionDeviceListWithHomeId:success:failure: [3/4]

- (void) getStatusConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get the list of status condition device list.

Parameters
homeIdThe homeID.
successWhen success, return device list of status condition.
failureWhen error occurred, return error.

◆ getStatusConditionDeviceListWithHomeId:success:failure: [4/4]

- (void) getStatusConditionDeviceListWithHomeId: (long long)  homeId
success: (ThingSceneGetDeviceListCompletion success
failure: (ThingFailureError failure 

Get the list of status condition device list.

Parameters
homeIdThe homeID.
successWhen success, return device list of status condition.
failureWhen error occurred, return error.

◆ getStatusConditionDPListWithDevId:gid:success:failure: [1/4]

- (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.

Parameters
devIdThe device ID.
gidThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getStatusConditionDPListWithDevId:gid:success:failure: [2/4]

- (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.

Parameters
devIdThe device ID.
gidThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getStatusConditionDPListWithDevId:gid:success:failure: [3/4]

- (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.

Parameters
devIdThe device ID.
gidThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getStatusConditionDPListWithDevId:gid:success:failure: [4/4]

- (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.

Parameters
devIdThe device ID.
gidThe home ID.
successWhen success, return ThingSmartSceneDPModel list.
failureWhen error occurred, return ThingFailureError object.

◆ getTopRecommendedSceneListWithHomeId:success:failure: [1/4]

- (void) getTopRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get top recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getTopRecommendedSceneListWithHomeId:success:failure: [2/4]

- (void) getTopRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get top recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getTopRecommendedSceneListWithHomeId:success:failure: [3/4]

- (void) getTopRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get top recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ getTopRecommendedSceneListWithHomeId:success:failure: [4/4]

- (void) getTopRecommendedSceneListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartSceneModel * > *list))  success
failure: (ThingFailureError failure 

Get top recommend scene list with the specify homeId.

Parameters
homeIdThe home ID.
successWhen success, return ThingSmartSceneModel list.
failureWhen error occurred, return ThingFailureError.

◆ hasNewLogsWithHomeId:success:failure: [1/4]

- (void) hasNewLogsWithHomeId: (long long)  homeId
success: (nullable ThingSuccessBOOL success
failure: (nullable ThingFailureError failure 

Check the user has new logs under the current home.

Parameters
homeIdThe home ID.
successSuccess callback. Return YES if the user has new logs under current home, otherwise NO.
failureFailure callback. Return error When the home ID is invalid.

◆ hasNewLogsWithHomeId:success:failure: [2/4]

- (void) hasNewLogsWithHomeId: (long long)  homeId
success: (nullable ThingSuccessBOOL success
failure: (nullable ThingFailureError failure 

Check the user has new logs under the current home.

Parameters
homeIdThe home ID.
successSuccess callback. Return YES if the user has new logs under current home, otherwise NO.
failureFailure callback. Return error When the home ID is invalid.

◆ hasNewLogsWithHomeId:success:failure: [3/4]

- (void) hasNewLogsWithHomeId: (long long)  homeId
success: (nullable ThingSuccessBOOL success
failure: (nullable ThingFailureError failure 

Check the user has new logs under the current home.

Parameters
homeIdThe home ID.
successSuccess callback. Return YES if the user has new logs under current home, otherwise NO.
failureFailure callback. Return error When the home ID is invalid.

◆ hasNewLogsWithHomeId:success:failure: [4/4]

- (void) hasNewLogsWithHomeId: (long long)  homeId
success: (nullable ThingSuccessBOOL success
failure: (nullable ThingFailureError failure 

Check the user has new logs under the current home.

Parameters
homeIdThe home ID.
successSuccess callback. Return YES if the user has new logs under current home, otherwise NO.
failureFailure callback. Return error When the home ID is invalid.

◆ removeAllGeoFence [1/4]

- (void) removeAllGeoFence

Remove all geofence registered in the apple system for automation scene when user logout.

◆ removeAllGeoFence [2/4]

- (void) removeAllGeoFence

Remove all geofence registered in the apple system for automation scene when user logout.

◆ removeAllGeoFence [3/4]

- (void) removeAllGeoFence

Remove all geofence registered in the apple system for automation scene when user logout.

◆ removeAllGeoFence [4/4]

- (void) removeAllGeoFence

Remove all geofence registered in the apple system for automation scene when user logout.

◆ removeSceneWithHomeId:roomId:sceneIds:success:failure: [1/4]

- (void) removeSceneWithHomeId: (long long)  homeId
roomId: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Remove scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ removeSceneWithHomeId:roomId:sceneIds:success:failure: [2/4]

- (void) removeSceneWithHomeId: (long long)  homeId
roomId: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Remove scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ removeSceneWithHomeId:roomId:sceneIds:success:failure: [3/4]

- (void) removeSceneWithHomeId: (long long)  homeId
roomId: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Remove scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ removeSceneWithHomeId:roomId:sceneIds:success:failure: [4/4]

- (void) removeSceneWithHomeId: (long long)  homeId
roomId: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Remove scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ removeTopRecommendSceneWithHomeId:recommendId:success:failure: [1/4]

- (void) removeTopRecommendSceneWithHomeId: (long long)  homeId
recommendId: (NSString *)  recommendId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Delete a home recommended scene.

Parameters
homeIdThe home id.
recommendIdThe top recommend scene id.
successWhen success return id object.
failureWhen failure return ThingFailureError.

◆ removeTopRecommendSceneWithHomeId:recommendId:success:failure: [2/4]

- (void) removeTopRecommendSceneWithHomeId: (long long)  homeId
recommendId: (NSString *)  recommendId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Delete a home recommended scene.

Parameters
homeIdThe home id.
recommendIdThe top recommend scene id.
successWhen success return id object.
failureWhen failure return ThingFailureError.

◆ removeTopRecommendSceneWithHomeId:recommendId:success:failure: [3/4]

- (void) removeTopRecommendSceneWithHomeId: (long long)  homeId
recommendId: (NSString *)  recommendId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Delete a home recommended scene.

Parameters
homeIdThe home id.
recommendIdThe top recommend scene id.
successWhen success return id object.
failureWhen failure return ThingFailureError.

◆ removeTopRecommendSceneWithHomeId:recommendId:success:failure: [4/4]

- (void) removeTopRecommendSceneWithHomeId: (long long)  homeId
recommendId: (NSString *)  recommendId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Delete a home recommended scene.

Parameters
homeIdThe home id.
recommendIdThe top recommend scene id.
successWhen success return id object.
failureWhen failure return ThingFailureError.

◆ replaceActionData: [1/4]

- (void) replaceActionData: (NSArray *)  actions

◆ replaceActionData: [2/4]

- (void) replaceActionData: (NSArray *)  actions

◆ replaceActionData: [3/4]

- (void) replaceActionData: (NSArray *)  actions

◆ replaceActionData: [4/4]

- (void) replaceActionData: (NSArray *)  actions

◆ replaceConidtionData: [1/4]

- (void) replaceConidtionData: (NSArray *)  conditions

◆ replaceConidtionData: [2/4]

- (void) replaceConidtionData: (NSArray *)  conditions

◆ replaceConidtionData: [3/4]

- (void) replaceConidtionData: (NSArray *)  conditions

◆ replaceConidtionData: [4/4]

- (void) replaceConidtionData: (NSArray *)  conditions

◆ replaceGroupData: [1/4]

- (void) replaceGroupData: (NSArray *)  groups

◆ replaceGroupData: [2/4]

- (void) replaceGroupData: (NSArray *)  groups

◆ replaceGroupData: [3/4]

- (void) replaceGroupData: (NSArray *)  groups

◆ replaceGroupData: [4/4]

- (void) replaceGroupData: (NSArray *)  groups

◆ sceneListWithHomeID:completion: [1/4]

- (void) sceneListWithHomeID: (long long)  homeID
completion: (void(^)(NSArray< ThingSmartSceneModel * > *list))  completion 

◆ sceneListWithHomeID:completion: [2/4]

- (void) sceneListWithHomeID: (long long)  homeID
completion: (void(^)(NSArray< ThingSmartSceneModel * > *list))  completion 

◆ sceneListWithHomeID:completion: [3/4]

- (void) sceneListWithHomeID: (long long)  homeID
completion: (void(^)(NSArray< ThingSmartSceneModel * > *list))  completion 

◆ sceneListWithHomeID:completion: [4/4]

- (void) sceneListWithHomeID: (long long)  homeID
completion: (void(^)(NSArray< ThingSmartSceneModel * > *list))  completion 

◆ sharedInstance [1/4]

+ (instancetype) sharedInstance

Returns the singleton of the ThingSmartSceneManager class.

Returns
The ThingSmartSceneManager instance.

◆ sharedInstance [2/4]

+ (instancetype) sharedInstance

Returns the singleton of the ThingSmartSceneManager class.

Returns
The ThingSmartSceneManager instance.

◆ sharedInstance [3/4]

+ (instancetype) sharedInstance

Returns the singleton of the ThingSmartSceneManager class.

Returns
The ThingSmartSceneManager instance.

◆ sharedInstance [4/4]

+ (instancetype) sharedInstance

Returns the singleton of the ThingSmartSceneManager class.

Returns
The ThingSmartSceneManager instance.

◆ sortSceneWithHomeId:room:sceneIds:success:failure: [1/4]

- (void) sortSceneWithHomeId: (long long)  homeId
room: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Sort scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ sortSceneWithHomeId:room:sceneIds:success:failure: [2/4]

- (void) sortSceneWithHomeId: (long long)  homeId
room: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Sort scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ sortSceneWithHomeId:room:sceneIds:success:failure: [3/4]

- (void) sortSceneWithHomeId: (long long)  homeId
room: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Sort scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ sortSceneWithHomeId:room:sceneIds:success:failure: [4/4]

- (void) sortSceneWithHomeId: (long long)  homeId
room: (NSString *)  roomId
sceneIds: (NSString *)  sceneIds
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Sort scenes in the specified room.

Parameters
roomIdThe room id.
sceneIdsThe scene id list, eg: "id1,id2,id3"
successSuccess callback.
failureFailure callback.

◆ sortSceneWithHomeId:sceneIdList:success:failure: [1/4]

- (void) sortSceneWithHomeId: (long long)  homeId
sceneIdList: (NSArray< NSString * > *)  sceneIdList
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Sort the scene list by the current home id.

Parameters
homeIdThe home ID.
sceneIdListThe scene list that to be sorted.
successWhen success, return ThingSuccessHandler.
failureWhen error occurred, return ThingFailureError.

◆ sortSceneWithHomeId:sceneIdList:success:failure: [2/4]

- (void) sortSceneWithHomeId: (long long)  homeId
sceneIdList: (NSArray< NSString * > *)  sceneIdList
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Sort the scene list by the current home id.

Parameters
homeIdThe home ID.
sceneIdListThe scene list that to be sorted.
successWhen success, return ThingSuccessHandler.
failureWhen error occurred, return ThingFailureError.

◆ sortSceneWithHomeId:sceneIdList:success:failure: [3/4]

- (void) sortSceneWithHomeId: (long long)  homeId
sceneIdList: (NSArray< NSString * > *)  sceneIdList
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Sort the scene list by the current home id.

Parameters
homeIdThe home ID.
sceneIdListThe scene list that to be sorted.
successWhen success, return ThingSuccessHandler.
failureWhen error occurred, return ThingFailureError.

◆ sortSceneWithHomeId:sceneIdList:success:failure: [4/4]

- (void) sortSceneWithHomeId: (long long)  homeId
sceneIdList: (NSArray< NSString * > *)  sceneIdList
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Sort the scene list by the current home id.

Parameters
homeIdThe home ID.
sceneIdListThe scene list that to be sorted.
successWhen success, return ThingSuccessHandler.
failureWhen error occurred, return ThingFailureError.

◆ statusConditionDeviceListWithRoomId: [1/4]

- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: (long long)  roomId

Get status condition device list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ statusConditionDeviceListWithRoomId: [2/4]

- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: (long long)  roomId

Get status condition device list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ statusConditionDeviceListWithRoomId: [3/4]

- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: (long long)  roomId

Get status condition device list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ statusConditionDeviceListWithRoomId: [4/4]

- (NSArray< ThingSmartDeviceModel * > *) statusConditionDeviceListWithRoomId: (long long)  roomId

Get status condition device list for action in the scene with specify the current room id.

Parameters
roomIdThe room ID.
Returns
The ThingSmartDeviceModel list, the more information you can see ThingSmartDeviceModel class.

Provided by category ThingSmartSceneManager(Home).

◆ unlikeRecommend:recomHandleParams:success:failure: [1/4]

- (void) unlikeRecommend: (long long)  homeId
recomHandleParams: (TSceneRecomHandleParams *)  params
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Unlike the recommend scene.

Parameters
homeIdThe home ID.
paramsThe unlike request params. Detail see TSceneRecomHandleParams.
successThe success callback.
failureThe failure callback.

◆ unlikeRecommend:recomHandleParams:success:failure: [2/4]

- (void) unlikeRecommend: (long long)  homeId
recomHandleParams: (TSceneRecomHandleParams *)  params
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Unlike the recommend scene.

Parameters
homeIdThe home ID.
paramsThe unlike request params. Detail see TSceneRecomHandleParams.
successThe success callback.
failureThe failure callback.

◆ unlikeRecommend:recomHandleParams:success:failure: [3/4]

- (void) unlikeRecommend: (long long)  homeId
recomHandleParams: (TSceneRecomHandleParams *)  params
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Unlike the recommend scene.

Parameters
homeIdThe home ID.
paramsThe unlike request params. Detail see TSceneRecomHandleParams.
successThe success callback.
failureThe failure callback.

◆ unlikeRecommend:recomHandleParams:success:failure: [4/4]

- (void) unlikeRecommend: (long long)  homeId
recomHandleParams: (TSceneRecomHandleParams *)  params
success: (ThingSuccessBOOL success
failure: (ThingFailureError failure 

Unlike the recommend scene.

Parameters
homeIdThe home ID.
paramsThe unlike request params. Detail see TSceneRecomHandleParams.
successThe success callback.
failureThe failure callback.

◆ updateMatchingDialogRecommendWithHomeId:success:failure: [1/4]

- (void) updateMatchingDialogRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, cache less

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

◆ updateMatchingDialogRecommendWithHomeId:success:failure: [2/4]

- (void) updateMatchingDialogRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, cache less

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

◆ updateMatchingDialogRecommendWithHomeId:success:failure: [3/4]

- (void) updateMatchingDialogRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, cache less

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

◆ updateMatchingDialogRecommendWithHomeId:success:failure: [4/4]

- (void) updateMatchingDialogRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, cache less

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

◆ updateMatchingRecommendWithHomeId:success:failure: [1/4]

- (void) updateMatchingRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, use cache

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

◆ updateMatchingRecommendWithHomeId:success:failure: [2/4]

- (void) updateMatchingRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, use cache

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

◆ updateMatchingRecommendWithHomeId:success:failure: [3/4]

- (void) updateMatchingRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, use cache

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

◆ updateMatchingRecommendWithHomeId:success:failure: [4/4]

- (void) updateMatchingRecommendWithHomeId: (long long)  homeId
success: (ThingSuccessID successHandler
failure: (ThingFailureError failureError 

Get more recommended scenes, use cache

Parameters
homeIdThe home ID
successHandlerWhen successfully update recommended scenes, this block will be called and return id object.
failureErrorWhen error occurred, this block will be called and return ThingFailureError.

Property Documentation

◆ actionData

- (NSMutableArray *) actionData
readnonatomicstrong

Definition at line 44 of file ThingSmartSceneManager.h.

◆ conditionData

- (NSMutableArray *) conditionData
readnonatomicstrong

Definition at line 42 of file ThingSmartSceneManager.h.

◆ delegate

- (id< ThingSmartSceneManagerDelegate >) delegate
readwritenonatomicweak

The delegate will be notified when the scene's contents change.

See also
ThingSmartSceneManagerDelegate.

Definition at line 54 of file ThingSmartSceneManager.h.

◆ deviceIdToPidMap

- (NSMutableDictionary *) deviceIdToPidMap
readnonatomicstrong

Definition at line 46 of file ThingSmartSceneManager.h.

◆ groupData

- (NSMutableArray *) groupData
readnonatomicstrong

Definition at line 45 of file ThingSmartSceneManager.h.

◆ statusConditionData

- (NSMutableArray *) statusConditionData
readnonatomicstrong

Definition at line 43 of file ThingSmartSceneManager.h.


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