Tuya iOS Smart Life App SDK 5.15.0
ThingSmartMultiControl Class Reference

#import <ThingSmartMultiControl.h>

Inheritance diagram for ThingSmartMultiControl:

Instance Methods

(void) - queryDeviceLinkInfoWithDevId:dpId:success:failure:
 
(void) - addMultiControlWithDevId:groupName:groupDetail:success:failure:
 
(void) - updateMultiControlWithDevId:multiControlModel:success:failure:
 
(void) - queryDeviceDpRelationWithDevId:success:failure:
 
(void) - enableMultiControlWithMultiControlId:enable:success:failure:
 
(void) - getMultiControlDeviceListWithHomeId:success:failure:
 
(void) - getDeviceDpInfoWithDevId:success:failure:
 
(void) - queryDeviceLinkInfoWithDevId:dpId:success:failure:
 
(void) - addMultiControlWithDevId:groupName:groupDetail:success:failure:
 
(void) - updateMultiControlWithDevId:multiControlModel:success:failure:
 
(void) - queryDeviceDpRelationWithDevId:success:failure:
 
(void) - enableMultiControlWithMultiControlId:enable:success:failure:
 
(void) - getMultiControlDeviceListWithHomeId:success:failure:
 
(void) - getDeviceDpInfoWithDevId:success:failure:
 
(void) - queryDeviceLinkInfoWithDevId:dpId:success:failure:
 
(void) - addMultiControlWithDevId:groupName:groupDetail:success:failure:
 
(void) - updateMultiControlWithDevId:multiControlModel:success:failure:
 
(void) - queryDeviceDpRelationWithDevId:success:failure:
 
(void) - enableMultiControlWithMultiControlId:enable:success:failure:
 
(void) - getMultiControlDeviceListWithHomeId:success:failure:
 
(void) - getDeviceDpInfoWithDevId:success:failure:
 
(void) - queryDeviceLinkInfoWithDevId:dpId:success:failure:
 
(void) - addMultiControlWithDevId:groupName:groupDetail:success:failure:
 
(void) - updateMultiControlWithDevId:multiControlModel:success:failure:
 
(void) - queryDeviceDpRelationWithDevId:success:failure:
 
(void) - enableMultiControlWithMultiControlId:enable:success:failure:
 
(void) - getMultiControlDeviceListWithHomeId:success:failure:
 
(void) - getDeviceDpInfoWithDevId:success:failure:
 

Detailed Description

Definition at line 16 of file ThingSmartMultiControl.h.

Method Documentation

◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [1/4]

- (void) addMultiControlWithDevId: (NSString *)  devId
groupName: (NSString *)  groupName
groupDetail: (NSArray< ThingSmartMultiControlDetailModel * > *)  groupDetail
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Adds a multi-control group.

Parameters
devIdThe main device ID.
groupNameThe group name.
groupDetailThe multi-control group association details.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled when the task is interrupted by an error.

◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [2/4]

- (void) addMultiControlWithDevId: (NSString *)  devId
groupName: (NSString *)  groupName
groupDetail: (NSArray< ThingSmartMultiControlDetailModel * > *)  groupDetail
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Adds a multi-control group.

Parameters
devIdThe main device ID.
groupNameThe group name.
groupDetailThe multi-control group association details.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled when the task is interrupted by an error.

◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [3/4]

- (void) addMultiControlWithDevId: (NSString *)  devId
groupName: (NSString *)  groupName
groupDetail: (NSArray< ThingSmartMultiControlDetailModel * > *)  groupDetail
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Adds a multi-control group.

Parameters
devIdThe main device ID.
groupNameThe group name.
groupDetailThe multi-control group association details.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled when the task is interrupted by an error.

◆ addMultiControlWithDevId:groupName:groupDetail:success:failure: [4/4]

- (void) addMultiControlWithDevId: (NSString *)  devId
groupName: (NSString *)  groupName
groupDetail: (NSArray< ThingSmartMultiControlDetailModel * > *)  groupDetail
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Adds a multi-control group.

Parameters
devIdThe main device ID.
groupNameThe group name.
groupDetailThe multi-control group association details.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled 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
multiControlIdThe multi-control group ID.
enableA Boolean value that specifies whether to enable or disable the group.
successCalled when the task is finished.
failureCalled 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
multiControlIdThe multi-control group ID.
enableA Boolean value that specifies whether to enable or disable the group.
successCalled when the task is finished.
failureCalled 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
multiControlIdThe multi-control group ID.
enableA Boolean value that specifies whether to enable or disable the group.
successCalled when the task is finished.
failureCalled 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
multiControlIdThe multi-control group ID.
enableA Boolean value that specifies whether to enable or disable the group.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) getDeviceDpInfoWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartMultiControlDatapointModel * > *))  success
failure: (ThingFailureError failure 

Returns information about all DPs of the specified device.

Parameters
devIdThe device ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDatapointModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getDeviceDpInfoWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartMultiControlDatapointModel * > *))  success
failure: (ThingFailureError failure 

Returns information about all DPs of the specified device.

Parameters
devIdThe device ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDatapointModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getDeviceDpInfoWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartMultiControlDatapointModel * > *))  success
failure: (ThingFailureError failure 

Returns information about all DPs of the specified device.

Parameters
devIdThe device ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDatapointModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getDeviceDpInfoWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartMultiControlDatapointModel * > *))  success
failure: (ThingFailureError failure 

Returns information about all DPs of the specified device.

Parameters
devIdThe device ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDatapointModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getMultiControlDeviceListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartMultiControlDeviceModel * > *))  success
failure: (ThingFailureError failure 

Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.

Parameters
homeIdThe home ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getMultiControlDeviceListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartMultiControlDeviceModel * > *))  success
failure: (ThingFailureError failure 

Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.

Parameters
homeIdThe home ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getMultiControlDeviceListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartMultiControlDeviceModel * > *))  success
failure: (ThingFailureError failure 

Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.

Parameters
homeIdThe home ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getMultiControlDeviceListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartMultiControlDeviceModel * > *))  success
failure: (ThingFailureError failure 

Queries a list of device IDs and device groups that support specific actions. The data is returned by home ID.

Parameters
homeIdThe home ID.
successCalled when the task is finished. A list of ThingSmartMultiControlDeviceModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) queryDeviceDpRelationWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartMultiControlDpRelationModel *))  success
failure: (ThingFailureError failure 

Returns the DP information of attached devices, the associated multi-control, and the scene automation information.

Parameters
devIdThe device ID.
successCalled when the task is finished. ThingSmartMultiControlDpRelationModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) queryDeviceDpRelationWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartMultiControlDpRelationModel *))  success
failure: (ThingFailureError failure 

Returns the DP information of attached devices, the associated multi-control, and the scene automation information.

Parameters
devIdThe device ID.
successCalled when the task is finished. ThingSmartMultiControlDpRelationModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) queryDeviceDpRelationWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartMultiControlDpRelationModel *))  success
failure: (ThingFailureError failure 

Returns the DP information of attached devices, the associated multi-control, and the scene automation information.

Parameters
devIdThe device ID.
successCalled when the task is finished. ThingSmartMultiControlDpRelationModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) queryDeviceDpRelationWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartMultiControlDpRelationModel *))  success
failure: (ThingFailureError failure 

Returns the DP information of attached devices, the associated multi-control, and the scene automation information.

Parameters
devIdThe device ID.
successCalled when the task is finished. ThingSmartMultiControlDpRelationModel is returned.
failureCalled when the task is interrupted by an error.

◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [1/4]

- (void) queryDeviceLinkInfoWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
success: (void(^)(ThingSmartMultiControlLinkModel *))  success
failure: (ThingFailureError failure 

Queries the multi-control and automation functions that are associated with the specified device DP.

Parameters
devIdThe main device ID.
dpIdThe DP ID.
successCalled when the task is finished. ThingSmartMultiControlLinkModel is returned.
failureCalled when the task is interrupted by an error.

◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [2/4]

- (void) queryDeviceLinkInfoWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
success: (void(^)(ThingSmartMultiControlLinkModel *))  success
failure: (ThingFailureError failure 

Queries the multi-control and automation functions that are associated with the specified device DP.

Parameters
devIdThe main device ID.
dpIdThe DP ID.
successCalled when the task is finished. ThingSmartMultiControlLinkModel is returned.
failureCalled when the task is interrupted by an error.

◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [3/4]

- (void) queryDeviceLinkInfoWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
success: (void(^)(ThingSmartMultiControlLinkModel *))  success
failure: (ThingFailureError failure 

Queries the multi-control and automation functions that are associated with the specified device DP.

Parameters
devIdThe main device ID.
dpIdThe DP ID.
successCalled when the task is finished. ThingSmartMultiControlLinkModel is returned.
failureCalled when the task is interrupted by an error.

◆ queryDeviceLinkInfoWithDevId:dpId:success:failure: [4/4]

- (void) queryDeviceLinkInfoWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
success: (void(^)(ThingSmartMultiControlLinkModel *))  success
failure: (ThingFailureError failure 

Queries the multi-control and automation functions that are associated with the specified device DP.

Parameters
devIdThe main device ID.
dpIdThe DP ID.
successCalled when the task is finished. ThingSmartMultiControlLinkModel is returned.
failureCalled when the task is interrupted by an error.

◆ updateMultiControlWithDevId:multiControlModel:success:failure: [1/4]

- (void) updateMultiControlWithDevId: (NSString *)  devId
multiControlModel: (ThingSmartMultiControlModel *)  model
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Updates the multi-control group.

Parameters
devIdThe main device ID.
modelThe data model of the multi-control group.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled when the task is interrupted by an error.

◆ updateMultiControlWithDevId:multiControlModel:success:failure: [2/4]

- (void) updateMultiControlWithDevId: (NSString *)  devId
multiControlModel: (ThingSmartMultiControlModel *)  model
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Updates the multi-control group.

Parameters
devIdThe main device ID.
modelThe data model of the multi-control group.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled when the task is interrupted by an error.

◆ updateMultiControlWithDevId:multiControlModel:success:failure: [3/4]

- (void) updateMultiControlWithDevId: (NSString *)  devId
multiControlModel: (ThingSmartMultiControlModel *)  model
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Updates the multi-control group.

Parameters
devIdThe main device ID.
modelThe data model of the multi-control group.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled when the task is interrupted by an error.

◆ updateMultiControlWithDevId:multiControlModel:success:failure: [4/4]

- (void) updateMultiControlWithDevId: (NSString *)  devId
multiControlModel: (ThingSmartMultiControlModel *)  model
success: (void(^)(ThingSmartMultiControlModel *))  success
failure: (ThingFailureError failure 

Updates the multi-control group.

Parameters
devIdThe main device ID.
modelThe data model of the multi-control group.
successCalled when the task is finished. ThingSmartMultiControlModel is returned.
failureCalled when the task is interrupted by an error.

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