#import <ThingSmartRoom.h>
Definition at line 12 of file ThingSmartRoom.h.
◆ addDeviceWithDeviceId:success:failure: [1/4]
Adds a device to the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addDeviceWithDeviceId:success:failure: [2/4]
Adds a device to the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addDeviceWithDeviceId:success:failure: [3/4]
Adds a device to the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addDeviceWithDeviceId:success:failure: [4/4]
Adds a device to the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addGroupWithGroupId:success:failure: [1/4]
Adds a group to the room.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addGroupWithGroupId:success:failure: [2/4]
Adds a group to the room.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addGroupWithGroupId:success:failure: [3/4]
Adds a group to the room.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addGroupWithGroupId:success:failure: [4/4]
Adds a group to the room.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ increaseRoomRelationWithDeviceGroupList:success:failure: [1/4]
Incremental batch add devices and groups belonging room
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ increaseRoomRelationWithDeviceGroupList:success:failure: [2/4]
Incremental batch add devices and groups belonging room
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ increaseRoomRelationWithDeviceGroupList:success:failure: [3/4]
Incremental batch add devices and groups belonging room
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ increaseRoomRelationWithDeviceGroupList:success:failure: [4/4]
Incremental batch add devices and groups belonging room
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ initWithRoomId:homeId: [1/4]
- (instancetype) initWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ initWithRoomId:homeId: [2/4]
- (instancetype) initWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ initWithRoomId:homeId: [3/4]
- (instancetype) initWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ initWithRoomId:homeId: [4/4]
- (instancetype) initWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ 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:success:failure: [1/4]
Removes a device from the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeDeviceWithDeviceId:success:failure: [2/4]
Removes a device from the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeDeviceWithDeviceId:success:failure: [3/4]
Removes a device from the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeDeviceWithDeviceId:success:failure: [4/4]
Removes a device from the room.
- Parameters
-
deviceId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupWithGroupId:success:failure: [1/4]
Removes a group from the room
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupWithGroupId:success:failure: [2/4]
Removes a group from the room
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupWithGroupId:success:failure: [3/4]
Removes a group from the room
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupWithGroupId:success:failure: [4/4]
Removes a group from the room
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ roomWithRoomId:homeId: [1/4]
+ (instancetype) roomWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ roomWithRoomId:homeId: [2/4]
+ (instancetype) roomWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ roomWithRoomId:homeId: [3/4]
+ (instancetype) roomWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ roomWithRoomId:homeId: [4/4]
+ (instancetype) roomWithRoomId: |
|
(long long) |
roomId |
homeId: |
|
(long long) |
homeId |
|
|
| |
Returns the room instance.
- Parameters
-
roomId | The room ID. |
homeId | The home ID. |
- Returns
- The instance.
◆ saveBatchRoomRelationWithDeviceGroupList:success:failure: [1/4]
Modifies the relationships between rooms, groups, and devices in a call.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ saveBatchRoomRelationWithDeviceGroupList:success:failure: [2/4]
Modifies the relationships between rooms, groups, and devices in a call.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ saveBatchRoomRelationWithDeviceGroupList:success:failure: [3/4]
Modifies the relationships between rooms, groups, and devices in a call.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ saveBatchRoomRelationWithDeviceGroupList:success:failure: [4/4]
Modifies the relationships between rooms, groups, and devices in a call.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ sortDeviceRelationWithList:success:failure: [1/4]
Sort groups and devices in the room.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ sortDeviceRelationWithList:success:failure: [2/4]
Sort groups and devices in the room.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ sortDeviceRelationWithList:success:failure: [3/4]
Sort groups and devices in the room.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ sortDeviceRelationWithList:success:failure: [4/4]
Sort groups and devices in the room.
- Parameters
-
deviceGroupList | A list of devices or groups. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateIcon:success:failure: [1/4]
Edits the room icon.
- Parameters
-
icon | The room icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateIcon:success:failure: [2/4]
Edits the room icon.
- Parameters
-
icon | The room icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateIcon:success:failure: [3/4]
Edits the room icon.
- Parameters
-
icon | The room icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateIcon:success:failure: [4/4]
Edits the room icon.
- Parameters
-
icon | The room icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateRoomName:success:failure: [1/4]
Renames the room.
- Parameters
-
roomName | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateRoomName:success:failure: [2/4]
Renames the room.
- Parameters
-
roomName | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateRoomName:success:failure: [3/4]
Renames the room.
- Parameters
-
roomName | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ updateRoomName:success:failure: [4/4]
Renames the room.
- Parameters
-
roomName | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ deviceList
◆ groupList
◆ roomModel
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartDeviceKit.framework/Headers/ThingSmartRoom.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_i386_x86_64-simulator/ThingSmartDeviceKit.framework/Headers/ThingSmartRoom.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/ios-arm64/ThingSmartDeviceKit.framework/Headers/ThingSmartRoom.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_arm64_32_armv7k/ThingSmartDeviceKit.framework/Headers/ThingSmartRoom.h