#import <ThingSmartRoomBiz.h>
Definition at line 84 of file ThingSmartRoomBiz.h.
◆ addDeviceWithDeviceId:roomId:homeId:success:failure: [1/2]
- (void) addDeviceWithDeviceId: |
|
(NSString *) |
deviceId |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add device to a room
- Parameters
-
deviceId | Device ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ addDeviceWithDeviceId:roomId:homeId:success:failure: [2/2]
- (void) addDeviceWithDeviceId: |
|
(NSString *) |
deviceId |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add device to a room
- Parameters
-
deviceId | Device ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ addGroupWithGroupId:roomId:homeId:success:failure: [1/2]
- (void) addGroupWithGroupId: |
|
(NSString *) |
groupId |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add group to a room
- Parameters
-
groupId | Group ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ addGroupWithGroupId:roomId:homeId:success:failure: [2/2]
- (void) addGroupWithGroupId: |
|
(NSString *) |
groupId |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add group to a room
- Parameters
-
groupId | Group ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ addHomeRoomWithName:homeId:success:failure: [1/2]
Add a new room
- Parameters
-
roomName | Room name |
homeId | Family ID of the room to be added |
success | Success callback |
failure | Failure callback |
◆ addHomeRoomWithName:homeId:success:failure: [2/2]
Add a new room
- Parameters
-
roomName | Room name |
homeId | Family ID of the room to be added |
success | Success callback |
failure | Failure callback |
◆ addObserver: [1/2]
Adding a Listener
- Parameters
-
◆ addObserver: [2/2]
Adding a Listener
- Parameters
-
◆ createRoomTagWithName:homeId:success:failure: [1/2]
- (void) createRoomTagWithName: |
|
(NSString *) |
name |
homeId: |
|
(long long) |
homeId |
success: |
|
(void(^)(long long roomTagID)) |
success |
failure: |
|
(ThingFailureError __nullable) |
failure |
|
|
| |
◆ createRoomTagWithName:homeId:success:failure: [2/2]
- (void) createRoomTagWithName: |
|
(NSString *) |
name |
homeId: |
|
(long long) |
homeId |
success: |
|
(void(^)(long long roomTagID)) |
success |
failure: |
|
(ThingFailureError __nullable) |
failure |
|
|
| |
◆ deleteRoomTagWithRoomTagId:success:failure: [1/2]
◆ deleteRoomTagWithRoomTagId:success:failure: [2/2]
◆ fetchRoomSnapshotWithHomeId:roomId:success:failure: [1/2]
查询家庭房间的快照(设备、群组、场景)
- Parameters:
- gid: 家庭ID
- roomId: 房间ID
- success: 成功回调
- failure: 失败回调
◆ fetchRoomSnapshotWithHomeId:roomId:success:failure: [2/2]
查询家庭房间的快照(设备、群组、场景)
- Parameters:
- gid: 家庭ID
- roomId: 房间ID
- success: 成功回调
- failure: 失败回调
◆ getDefaultRoomsWithSuccess:failure: [1/2]
Get the default rooms
- Parameters
-
success | Success callback |
failure | Failure callback |
◆ getDefaultRoomsWithSuccess:failure: [2/2]
Get the default rooms
- Parameters
-
success | Success callback |
failure | Failure callback |
◆ getRecommendRoomsWithSuccess:failure: [1/2]
- (void) getRecommendRoomsWithSuccess: |
|
(void(^)(NSArray< NSString * > *rooms)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Get Recommended Rooms
- Parameters
-
success | Success callback |
failure | Failure callback |
◆ getRecommendRoomsWithSuccess:failure: [2/2]
- (void) getRecommendRoomsWithSuccess: |
|
(void(^)(NSArray< NSString * > *rooms)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Get Recommended Rooms
- Parameters
-
success | Success callback |
failure | Failure callback |
◆ getRoomDetailWithRoomId:homeId: [1/2]
- (ThingSmartRoom *) getRoomDetailWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
|
|
| |
Get room details
- Parameters
-
roomId | Room ID |
homeId | Family ID |
- Returns
- The room model
◆ getRoomDetailWithRoomId:homeId: [2/2]
- (ThingSmartRoom *) getRoomDetailWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
|
|
| |
Get room details
- Parameters
-
roomId | Room ID |
homeId | Family ID |
- Returns
- The room model
◆ getRoomListDataModelWithHomeId:success:failure: [1/2]
◆ getRoomListDataModelWithHomeId:success:failure: [2/2]
◆ getRoomListWithHomeId:success:failure: [1/2]
获取家庭下房间列表
Get the list of rooms under the family
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getRoomListWithHomeId:success:failure: [2/2]
获取家庭下房间列表
Get the list of rooms under the family
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getRoomTagListWithHomeId:success:failure: [1/2]
◆ getRoomTagListWithHomeId:success:failure: [2/2]
◆ manageRoomTagWithRoomRelationship:roomTagIds:homeId:success:failure: [1/2]
- (void) manageRoomTagWithRoomRelationship: |
|
(NSDictionary< NSString *, NSArray< NSString * > * > *) |
roomRelationship |
roomTagIds: |
|
(NSArray< NSString * > *) |
roomTagIds |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler __nullable) |
success |
failure: |
|
(ThingFailureError __nullable) |
failure |
|
|
| |
◆ manageRoomTagWithRoomRelationship:roomTagIds:homeId:success:failure: [2/2]
- (void) manageRoomTagWithRoomRelationship: |
|
(NSDictionary< NSString *, NSArray< NSString * > * > *) |
roomRelationship |
roomTagIds: |
|
(NSArray< NSString * > *) |
roomTagIds |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler __nullable) |
success |
failure: |
|
(ThingFailureError __nullable) |
failure |
|
|
| |
◆ NS_UNAVAILABLE [1/4]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [2/4]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [3/4]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [4/4]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ removeDeviceWithDeviceId:roomId:homeId:success:failure: [1/2]
- (void) removeDeviceWithDeviceId: |
|
(NSString *) |
deviceId |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Remove device from a room
- Parameters
-
deviceId | Device ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ removeDeviceWithDeviceId:roomId:homeId:success:failure: [2/2]
- (void) removeDeviceWithDeviceId: |
|
(NSString *) |
deviceId |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Remove device from a room
- Parameters
-
deviceId | Device ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ removeGroupWithGroupId:roomId:homeId:success:failure: [1/2]
Remove group from a room
- Parameters
-
groupId | Group ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ removeGroupWithGroupId:roomId:homeId:success:failure: [2/2]
Remove group from a room
- Parameters
-
groupId | Group ID |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ removeHomeRoomWithRoomId:homeId:success:failure: [1/2]
Remove a room
- Parameters
-
roomId | Room ID |
success | Success callback |
failure | Failure callback |
◆ removeHomeRoomWithRoomId:homeId:success:failure: [2/2]
Remove a room
- Parameters
-
roomId | Room ID |
success | Success callback |
failure | Failure callback |
◆ removeObserver: [1/2]
Removing a Listener
- Parameters
-
◆ removeObserver: [2/2]
Removing a Listener
- Parameters
-
◆ saveBatchRoomRelationWithDeviceGroupList:roomId:homeId:success:failure: [1/2]
- (void) saveBatchRoomRelationWithDeviceGroupList: |
|
(NSArray< NSString * > *) |
deviceGroupList |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Batch modification of rooms in relation to groups and devices
- Parameters
-
deviceGroupList | Device、Group list |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ saveBatchRoomRelationWithDeviceGroupList:roomId:homeId:success:failure: [2/2]
- (void) saveBatchRoomRelationWithDeviceGroupList: |
|
(NSArray< NSString * > *) |
deviceGroupList |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Batch modification of rooms in relation to groups and devices
- Parameters
-
deviceGroupList | Device、Group list |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ sharedInstance [1/2]
+ (instancetype) sharedInstance |
|
|
|
◆ sharedInstance [2/2]
+ (instancetype) sharedInstance |
|
|
|
◆ sortRoomList:homeId:success:failure: [1/2]
Sort the rooms
- Parameters
-
rooms | Room list |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ sortRoomList:homeId:success:failure: [2/2]
Sort the rooms
- Parameters
-
rooms | Room list |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ sortRoomTagWithRoomTagIds:homeId:success:failure: [1/2]
◆ sortRoomTagWithRoomTagIds:homeId:success:failure: [2/2]
◆ updateHomeRoomWithName:roomId:homeId:success:failure: [1/2]
- (void) updateHomeRoomWithName: |
|
(NSString *) |
roomName |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(void(^)(ThingSmartRoomModel *roomModel)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Updat room names
- Parameters
-
roomName | New room name |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ updateHomeRoomWithName:roomId:homeId:success:failure: [2/2]
- (void) updateHomeRoomWithName: |
|
(NSString *) |
roomName |
roomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
success: |
|
(void(^)(ThingSmartRoomModel *roomModel)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Updat room names
- Parameters
-
roomName | New room name |
roomId | Room ID |
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ updateRoomTagNameWithRoomTagId:name:success:failure: [1/2]
- (void) updateRoomTagNameWithRoomTagId: |
|
(long long) |
roomTagId |
name: |
|
(NSString *) |
name |
success: |
|
(ThingSuccessHandler __nullable) |
success |
failure: |
|
(ThingFailureError __nullable) |
failure |
|
|
| |
◆ updateRoomTagNameWithRoomTagId:name:success:failure: [2/2]
- (void) updateRoomTagNameWithRoomTagId: |
|
(long long) |
roomTagId |
name: |
|
(NSString *) |
name |
success: |
|
(ThingSuccessHandler __nullable) |
success |
failure: |
|
(ThingFailureError __nullable) |
failure |
|
|
| |
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartFamilyBizKit/ThingSmartFamilyBizKit.xcframework/ios-x86_64-simulator/ThingSmartFamilyBizKit.framework/Headers/ThingSmartRoomBiz.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartFamilyBizKit/ThingSmartFamilyBizKit.xcframework/ios-arm64/ThingSmartFamilyBizKit.framework/Headers/ThingSmartRoomBiz.h