#import <ThingSmartMultiControl.h>
Definition at line 16 of file ThingSmartMultiControl.h.
◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [1/4]
Adds a multi-control group.
- Parameters
-
devId | The main device ID. |
groupName | The group name. |
groupDetail | The multi-control group association details. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [2/4]
Adds a multi-control group.
- Parameters
-
devId | The main device ID. |
groupName | The group name. |
groupDetail | The multi-control group association details. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [3/4]
Adds a multi-control group.
- Parameters
-
devId | The main device ID. |
groupName | The group name. |
groupDetail | The multi-control group association details. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [4/4]
Adds a multi-control group.
- Parameters
-
devId | The main device ID. |
groupName | The group name. |
groupDetail | The multi-control group association details. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ enableMultiControlWithMultiControlId:enable:success:failure: [1/4]
- (void) enableMultiControlWithMultiControlId: |
|
(NSString *) |
multiControlId |
enable: |
|
(BOOL) |
enable |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Enables or disables multi-control groups.
- Parameters
-
multiControlId | The multi-control group ID. |
enable | A Boolean value that specifies whether to enable or disable the group. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ enableMultiControlWithMultiControlId:enable:success:failure: [2/4]
- (void) enableMultiControlWithMultiControlId: |
|
(NSString *) |
multiControlId |
enable: |
|
(BOOL) |
enable |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Enables or disables multi-control groups.
- Parameters
-
multiControlId | The multi-control group ID. |
enable | A Boolean value that specifies whether to enable or disable the group. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ enableMultiControlWithMultiControlId:enable:success:failure: [3/4]
- (void) enableMultiControlWithMultiControlId: |
|
(NSString *) |
multiControlId |
enable: |
|
(BOOL) |
enable |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Enables or disables multi-control groups.
- Parameters
-
multiControlId | The multi-control group ID. |
enable | A Boolean value that specifies whether to enable or disable the group. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ enableMultiControlWithMultiControlId:enable:success:failure: [4/4]
- (void) enableMultiControlWithMultiControlId: |
|
(NSString *) |
multiControlId |
enable: |
|
(BOOL) |
enable |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Enables or disables multi-control groups.
- Parameters
-
multiControlId | The multi-control group ID. |
enable | A Boolean value that specifies whether to enable or disable the group. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ getDeviceDpInfoWithDevId:success:failure: [1/4]
Returns information about all DPs of the specified device.
- Parameters
-
◆ getDeviceDpInfoWithDevId:success:failure: [2/4]
Returns information about all DPs of the specified device.
- Parameters
-
◆ getDeviceDpInfoWithDevId:success:failure: [3/4]
Returns information about all DPs of the specified device.
- Parameters
-
◆ getDeviceDpInfoWithDevId:success:failure: [4/4]
Returns information about all DPs of the specified device.
- Parameters
-
◆ getMultiControlDeviceListWithHomeId:success:failure: [1/4]
Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.
- Parameters
-
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getMultiControlDeviceListWithHomeId:success:failure: [2/4]
Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.
- Parameters
-
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getMultiControlDeviceListWithHomeId:success:failure: [3/4]
Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.
- Parameters
-
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getMultiControlDeviceListWithHomeId:success:failure: [4/4]
Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.
- Parameters
-
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ queryDeviceDpRelationWithDevId:success:failure: [1/4]
Returns the DP information of attached devices, the associated multi-control, and the scene automation information.
- Parameters
-
◆ queryDeviceDpRelationWithDevId:success:failure: [2/4]
Returns the DP information of attached devices, the associated multi-control, and the scene automation information.
- Parameters
-
◆ queryDeviceDpRelationWithDevId:success:failure: [3/4]
Returns the DP information of attached devices, the associated multi-control, and the scene automation information.
- Parameters
-
◆ queryDeviceDpRelationWithDevId:success:failure: [4/4]
Returns the DP information of attached devices, the associated multi-control, and the scene automation information.
- Parameters
-
◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [1/4]
Queries the multi-control and automation functions that are associated with the specified device DP.
- Parameters
-
devId | The main device ID. |
dpId | The DP ID. |
success | Called when the task is finished. ThingSmartMultiControlLinkModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [2/4]
Queries the multi-control and automation functions that are associated with the specified device DP.
- Parameters
-
devId | The main device ID. |
dpId | The DP ID. |
success | Called when the task is finished. ThingSmartMultiControlLinkModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [3/4]
Queries the multi-control and automation functions that are associated with the specified device DP.
- Parameters
-
devId | The main device ID. |
dpId | The DP ID. |
success | Called when the task is finished. ThingSmartMultiControlLinkModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [4/4]
Queries the multi-control and automation functions that are associated with the specified device DP.
- Parameters
-
devId | The main device ID. |
dpId | The DP ID. |
success | Called when the task is finished. ThingSmartMultiControlLinkModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ updateMultiControlWithDevId:multiControlModel:success:failure: [1/4]
Updates the multi-control group.
- Parameters
-
devId | The main device ID. |
model | The data model of the multi-control group. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ updateMultiControlWithDevId:multiControlModel:success:failure: [2/4]
Updates the multi-control group.
- Parameters
-
devId | The main device ID. |
model | The data model of the multi-control group. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ updateMultiControlWithDevId:multiControlModel:success:failure: [3/4]
Updates the multi-control group.
- Parameters
-
devId | The main device ID. |
model | The data model of the multi-control group. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ updateMultiControlWithDevId:multiControlModel:success:failure: [4/4]
Updates the multi-control group.
- Parameters
-
devId | The main device ID. |
model | The data model of the multi-control group. |
success | Called when the task is finished. ThingSmartMultiControlModel is returned. |
failure | Called when the task is interrupted by an error. |
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/ThingSmartMultiControl.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_i386_x86_64-simulator/ThingSmartDeviceKit.framework/Headers/ThingSmartMultiControl.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/ios-arm64/ThingSmartDeviceKit.framework/Headers/ThingSmartMultiControl.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_arm64_32_armv7k/ThingSmartDeviceKit.framework/Headers/ThingSmartMultiControl.h