Tuya iOS Smart Life App SDK 5.15.0
<ThingSmartGroupDelegate> Protocol Reference

The delegate of the ThingSmartGroup class provides the callback of group status updates. More...

#import <ThingSmartGroup.h>

Inheritance diagram for <ThingSmartGroupDelegate>:

Instance Methods

(void) - group:dpsUpdate:
 
(void) - groupInfoUpdate:
 
(void) - groupRemove:
 
(void) - group:dpCodesUpdate:
 
(void) - group:addResponseCode:
 
(void) - group:removeResponseCode:
 
(void) - group:dpsUpdate:
 
(void) - groupInfoUpdate:
 
(void) - groupRemove:
 
(void) - group:dpCodesUpdate:
 
(void) - group:addResponseCode:
 
(void) - group:removeResponseCode:
 
(void) - group:dpsUpdate:
 
(void) - groupInfoUpdate:
 
(void) - groupRemove:
 
(void) - group:dpCodesUpdate:
 
(void) - group:addResponseCode:
 
(void) - group:removeResponseCode:
 
(void) - group:dpsUpdate:
 
(void) - groupInfoUpdate:
 
(void) - groupRemove:
 
(void) - group:dpCodesUpdate:
 
(void) - group:addResponseCode:
 
(void) - group:removeResponseCode:
 

Detailed Description

The delegate of the ThingSmartGroup class provides the callback of group status updates.

Definition at line 30 of file ThingSmartGroup.h.

Method Documentation

◆ group:addResponseCode: [1/4]

- (void) group: (ThingSmartGroup *)  group
addResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that join the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ group:addResponseCode: [2/4]

- (void) group: (ThingSmartGroup *)  group
addResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that join the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ group:addResponseCode: [3/4]

- (void) group: (ThingSmartGroup *)  group
addResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that join the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ group:addResponseCode: [4/4]

- (void) group: (ThingSmartGroup *)  group
addResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that join the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ group:dpCodesUpdate: [1/4]

- (void) group: (ThingSmartGroup *)  group
dpCodesUpdate: (NSDictionary *)  dpCodes 
optional

The update of group DP data.

Parameters
groupThe instance of ThingSmartGroup.
dpCodesThe DP codes.

◆ group:dpCodesUpdate: [2/4]

- (void) group: (ThingSmartGroup *)  group
dpCodesUpdate: (NSDictionary *)  dpCodes 
optional

The update of group DP data.

Parameters
groupThe instance of ThingSmartGroup.
dpCodesThe DP codes.

◆ group:dpCodesUpdate: [3/4]

- (void) group: (ThingSmartGroup *)  group
dpCodesUpdate: (NSDictionary *)  dpCodes 
optional

The update of group DP data.

Parameters
groupThe instance of ThingSmartGroup.
dpCodesThe DP codes.

◆ group:dpCodesUpdate: [4/4]

- (void) group: (ThingSmartGroup *)  group
dpCodesUpdate: (NSDictionary *)  dpCodes 
optional

The update of group DP data.

Parameters
groupThe instance of ThingSmartGroup.
dpCodesThe DP codes.

◆ group:dpsUpdate: [1/4]

- (void) group: (ThingSmartGroup *)  group
dpsUpdate: (NSDictionary *)  dps 
optional

The update of group DPs data.

Parameters
groupThe instance of ThingSmartGroup.
dpsThe DPs.

◆ group:dpsUpdate: [2/4]

- (void) group: (ThingSmartGroup *)  group
dpsUpdate: (NSDictionary *)  dps 
optional

The update of group DPs data.

Parameters
groupThe instance of ThingSmartGroup.
dpsThe DPs.

◆ group:dpsUpdate: [3/4]

- (void) group: (ThingSmartGroup *)  group
dpsUpdate: (NSDictionary *)  dps 
optional

The update of group DPs data.

Parameters
groupThe instance of ThingSmartGroup.
dpsThe DPs.

◆ group:dpsUpdate: [4/4]

- (void) group: (ThingSmartGroup *)  group
dpsUpdate: (NSDictionary *)  dps 
optional

The update of group DPs data.

Parameters
groupThe instance of ThingSmartGroup.
dpsThe DPs.

◆ group:removeResponseCode: [1/4]

- (void) group: (ThingSmartGroup *)  group
removeResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that are removed from the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ group:removeResponseCode: [2/4]

- (void) group: (ThingSmartGroup *)  group
removeResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that are removed from the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ group:removeResponseCode: [3/4]

- (void) group: (ThingSmartGroup *)  group
removeResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that are removed from the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ group:removeResponseCode: [4/4]

- (void) group: (ThingSmartGroup *)  group
removeResponseCode: (NSArray< NSNumber * > *)  responseCode 
optional

The group response of Zigbee devices that are removed from the gateway. 1: exceeds the scenario limit. 2: sub-device timeout. 3: specified value out of range. 4: file writing error. 5: other errors.

Parameters
groupThe instance of ThingSmartGroup.
responseCodeThe response code.

◆ groupInfoUpdate: [1/4]

- (void) groupInfoUpdate: (ThingSmartGroup *)  group
optional

The group information update.

Parameters
groupThe instance of ThingSmartGroup.

◆ groupInfoUpdate: [2/4]

- (void) groupInfoUpdate: (ThingSmartGroup *)  group
optional

The group information update.

Parameters
groupThe instance of ThingSmartGroup.

◆ groupInfoUpdate: [3/4]

- (void) groupInfoUpdate: (ThingSmartGroup *)  group
optional

The group information update.

Parameters
groupThe instance of ThingSmartGroup.

◆ groupInfoUpdate: [4/4]

- (void) groupInfoUpdate: (ThingSmartGroup *)  group
optional

The group information update.

Parameters
groupThe instance of ThingSmartGroup.

◆ groupRemove: [1/4]

- (void) groupRemove: (NSString *)  groupId
optional

Removes the group.

Parameters
groupIdThe group ID.

◆ groupRemove: [2/4]

- (void) groupRemove: (NSString *)  groupId
optional

Removes the group.

Parameters
groupIdThe group ID.

◆ groupRemove: [3/4]

- (void) groupRemove: (NSString *)  groupId
optional

Removes the group.

Parameters
groupIdThe group ID.

◆ groupRemove: [4/4]

- (void) groupRemove: (NSString *)  groupId
optional

Removes the group.

Parameters
groupIdThe group ID.

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