![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
The group of smart devices allows you to create groups, send group commands, and update basic group information. More...
#import <ThingSmartGroup.h>
Properties | |
ThingSmartGroupModel * | groupModel |
Returns the basic group information model. More... | |
id< ThingSmartGroupDelegate > | delegate |
The group of smart devices allows you to create groups, send group commands, and update basic group information.
You can add multiple devices with the same functions to a group and simultaneously control the devices.
Definition at line 68 of file ThingSmartGroup.h.
- (void) cancelRequest |
Cancels the request.
- (void) cancelRequest |
Cancels the request.
- (void) cancelRequest |
Cancels the request.
- (void) cancelRequest |
Cancels the request.
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
categoryCode | The category code. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
categoryCode | The category code. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
categoryCode | The category code. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
categoryCode | The category code. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi standard DPCode devices.
name | The group name. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIds: | (NSArray< NSString * > *) | devIds | |
meshId: | (NSString *) | meshId | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIds: | (NSArray< NSString * > *) | devIds | |
meshId: | (NSString *) | meshId | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIds: | (NSArray< NSString * > *) | devIds | |
meshId: | (NSString *) | meshId | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createDpCodeGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
devIds: | (NSArray< NSString * > *) | devIds | |
meshId: | (NSString *) | meshId | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of standard DPCode devices.
name | The group name. |
homeId | The home ID. |
productId | The product ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. ThingSmartGroup is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) createGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Zigbee devices.
name | The group name. |
homeId | The home ID. |
gwId | The gateway ID. |
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Zigbee devices.
name | The group name. |
homeId | The home ID. |
gwId | The gateway ID. |
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Zigbee devices.
name | The group name. |
homeId | The home ID. |
gwId | The gateway ID. |
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithName: | (NSString *) | name | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Zigbee devices.
name | The group name. |
homeId | The home ID. |
gwId | The gateway ID. |
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createGroupWithParams: | (ThingSmartGroupAddParams *) | groupAddParams | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
groupAddParams | The group params |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
+ (void) createGroupWithParams: | (ThingSmartGroupAddParams *) | groupAddParams | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
groupAddParams | The group params |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
+ (void) createGroupWithParams: | (ThingSmartGroupAddParams *) | groupAddParams | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
groupAddParams | The group params |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
+ (void) createGroupWithParams: | (ThingSmartGroupAddParams *) | groupAddParams | |
success: | (nullable void(^)(ThingSmartGroup *group)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of Wi-Fi devices.
groupAddParams | The group params |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
+ (void) createThreadGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of thread devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
gwId | The gateway ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createThreadGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of thread devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
gwId | The gateway ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createThreadGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of thread devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
gwId | The gateway ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) createThreadGroupWithName: | (NSString *) | name | |
productId: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
gwId: | (NSString *) | gwId | |
devIdList: | (NSArray< NSString * > *) | devIdList | |
success: | (nullable void(^)(ThingSmartGroup *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Creates groups of thread devices.
name | The group name. |
productId | The product ID. |
homeId | The home ID. |
gwId | The gateway ID. |
devIdList | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
- (void) dismissGroup: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Removes the group.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) dismissGroup: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Removes the group.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) dismissGroup: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Removes the group.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) dismissGroup: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Removes the group.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
+ (void) getDevList: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that are grouped by productId.
productId | The product ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getDevList: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that are grouped by productId.
productId | The product ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getDevList: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that are grouped by productId.
productId | The product ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getDevList: | (NSString *) | productId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that are grouped by productId.
productId | The product ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
- (void) getDevList: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns the device list that belongs to the specified group based on productId.
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getDevList: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns the device list that belongs to the specified group based on productId.
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getDevList: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns the device list that belongs to the specified group based on productId.
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getDevList: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns the device list that belongs to the specified group based on productId.
productId | The product ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
+ (void) getDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Zigbee sub-devices that are grouped by productId and gwId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Zigbee sub-devices that are grouped by productId and gwId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Zigbee sub-devices that are grouped by productId and gwId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Zigbee sub-devices that are grouped by productId and gwId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
categoryCode | The category code. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
categoryCode | The category code. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
categoryCode | The category code. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
categoryCode: | (NSString *) | categoryCode | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
categoryCode | The category code. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
productId | The product ID of the device. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
productId | The product ID of the device. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
productId | The product ID of the device. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
productId: | (NSString *) | productId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
productId | The product ID of the device. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
+ (void) getDpCodeDevListWithHomeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of Wi-Fi devices that belong to standard DPCode groups based on category codes.
homeId | The home ID. |
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) getDpCodeDevListWithSuccess: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of devices that belong to the group.
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) getDpCodeDevListWithSuccess: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of devices that belong to the group.
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) getDpCodeDevListWithSuccess: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of devices that belong to the group.
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) getDpCodeDevListWithSuccess: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *list)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of devices that belong to the group.
success | Called when the task is finished. A list of ThingSmartGroupDevListModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) getShareGroupFromInfoWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Get sharing information of the group.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
- (void) getShareGroupFromInfoWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Get sharing information of the group.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
- (void) getShareGroupFromInfoWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Get sharing information of the group.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
- (void) getShareGroupFromInfoWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Get sharing information of the group.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
+ (void) getThreadDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of thread devices that are grouped by productId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getThreadDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of thread devices that are grouped by productId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getThreadDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of thread devices that are grouped by productId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (void) getThreadDevListWithProductId: | (NSString *) | productId | |
gwId: | (NSString *) | gwId | |
homeId: | (long long) | homeId | |
success: | (nullable void(^)(NSArray< ThingSmartGroupDevListModel * > *)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Returns a list of thread devices that are grouped by productId.
productId | The product ID. |
gwId | The gateway ID. |
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(Home).
+ (nullable instancetype) groupWithGroupId: | (NSString *) | groupId |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
+ (nullable instancetype) groupWithGroupId: | (NSString *) | groupId |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
+ (nullable instancetype) groupWithGroupId: | (NSString *) | groupId |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
+ (nullable instancetype) groupWithGroupId: | (NSString *) | groupId |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
- (nullable instancetype) initWithGroupId: | (NSString *) | NS_DESIGNATED_INITIALIZER |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
- (nullable instancetype) initWithGroupId: | (NSString *) | NS_DESIGNATED_INITIALIZER |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
- (nullable instancetype) initWithGroupId: | (NSString *) | NS_DESIGNATED_INITIALIZER |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
- (nullable instancetype) initWithGroupId: | (NSString *) | NS_DESIGNATED_INITIALIZER |
Returns the ThingSmartGroup instance.
groupId | The group ID. |
- (instancetype) NS_UNAVAILABLE |
- (instancetype) NS_UNAVAILABLE |
- (instancetype) NS_UNAVAILABLE |
- (instancetype) NS_UNAVAILABLE |
- (void) publishDpCodes: | (NSDictionary *) | dpCodes | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends control commands to the group.
dpCodes | The DP codes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) publishDpCodes: | (NSDictionary *) | dpCodes | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends control commands to the group.
dpCodes | The DP codes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) publishDpCodes: | (NSDictionary *) | dpCodes | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends control commands to the group.
dpCodes | The DP codes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) publishDpCodes: | (NSDictionary *) | dpCodes | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends control commands to the group.
dpCodes | The DP codes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) publishDps: | (NSDictionary *) | dps | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends group control commands.
dps | The DPs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) publishDps: | (NSDictionary *) | dps | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends group control commands.
dps | The DPs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) publishDps: | (NSDictionary *) | dps | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends group control commands.
dps | The DPs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) publishDps: | (NSDictionary *) | dps | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Sends group control commands.
dps | The DPs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) removeShareGroupWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Remove sharing groups.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
- (void) removeShareGroupWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Remove sharing groups.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
- (void) removeShareGroupWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Remove sharing groups.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
- (void) removeShareGroupWithSuccess: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
Remove sharing groups.
success | Called when the task finishes successfully. |
failure | If error occurred while adding the task, this block will be called. |
Provided by category ThingSmartGroup(ShareInfo).
- (void) updateDpCodeGroupRelationsWithDevList: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies a list of devices that belong to the group.
devList | A list of devices. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) updateDpCodeGroupRelationsWithDevList: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies a list of devices that belong to the group.
devList | A list of devices. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) updateDpCodeGroupRelationsWithDevList: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies a list of devices that belong to the group.
devList | A list of devices. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) updateDpCodeGroupRelationsWithDevList: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies a list of devices that belong to the group.
devList | A list of devices. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartGroup(DpCode).
- (void) updateGroupName: | (NSString *) | name | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Renames the group name.
name | The group name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateGroupName: | (NSString *) | name | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Renames the group name.
name | The group name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateGroupName: | (NSString *) | name | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Renames the group name.
name | The group name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateGroupName: | (NSString *) | name | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Renames the group name.
name | The group name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateGroupRelations: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies the device list of the group.
devList | The device list. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateGroupRelations: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies the device list of the group.
devList | The device list. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateGroupRelations: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies the device list of the group.
devList | The device list. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateGroupRelations: | (NSArray< NSString * > *) | devList | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Modifies the device list of the group.
devList | The device list. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIcon: | (UIImage *) | icon | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
icon | The group icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIcon: | (UIImage *) | icon | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
icon | The group icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIcon: | (UIImage *) | icon | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
icon | The group icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIcon: | (UIImage *) | icon | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
icon | The group icon. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIconWithCloudKey: | (NSString *) | cloudKey | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
cloudKey | The cloud key. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIconWithCloudKey: | (NSString *) | cloudKey | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
cloudKey | The cloud key. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIconWithCloudKey: | (NSString *) | cloudKey | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
cloudKey | The cloud key. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateIconWithCloudKey: | (NSString *) | cloudKey | |
success: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Edits the group icon.
cloudKey | The cloud key. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
|
readwritenonatomicweak |
Definition at line 73 of file ThingSmartGroup.h.
|
readnonatomicstrong |
Returns the basic group information model.
Definition at line 71 of file ThingSmartGroup.h.