Tuya iOS Smart Life App SDK 5.15.0
ThingSmartHomeDeviceShare Class Reference

Shares devices based on device types. More...

#import <ThingSmartShareKitApi.h>

Inheritance diagram for ThingSmartHomeDeviceShare:

Instance Methods

(void) - addDeviceShareWithRequestModel:success:failure:
 
(void) - addShareWithMemberId:devIds:success:failure:
 
(void) - getShareMemberListWithSpaceId:success:failure:
 
(void) - getReceiveMemberListWithSuccess:failure:
 
(void) - getShareMemberDetailWithMemberId:success:failure:
 
(void) - getReceiveMemberDetailWithMemberId:success:failure:
 
(void) - removeShareMemberWithMemberId:success:failure:
 
(void) - removeReceiveShareMemberWithMemberId:success:failure:
 
(void) - renameShareMemberNameWithMemberId:name:success:failure:
 
(void) - renameReceiveShareMemberNameWithMemberId:name:success:failure:
 
(void) - getDeviceShareMemberListWithDevId:success:failure:
 
(void) - inviteShareWithCountryCode:userAccount:devId:success:failure:
 
(void) - confirmInviteShareWithShareId:success:failure:
 
(void) - getGroupShareMemberListWithGroupId:success:failure:
 
(void) - addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:
 
(void) - removeGroupShareWithRelationId:groupId:success:failure:
 
(void) - removeDeviceShareWithMemberId:devId:success:failure:
 
(void) - addDeviceShareWithRequestModel:success:failure:
 
(void) - addShareWithMemberId:devIds:success:failure:
 
(void) - getShareMemberListWithSpaceId:success:failure:
 
(void) - getReceiveMemberListWithSuccess:failure:
 
(void) - getShareMemberDetailWithMemberId:success:failure:
 
(void) - getReceiveMemberDetailWithMemberId:success:failure:
 
(void) - removeShareMemberWithMemberId:success:failure:
 
(void) - removeReceiveShareMemberWithMemberId:success:failure:
 
(void) - renameShareMemberNameWithMemberId:name:success:failure:
 
(void) - renameReceiveShareMemberNameWithMemberId:name:success:failure:
 
(void) - getDeviceShareMemberListWithDevId:success:failure:
 
(void) - inviteShareWithCountryCode:userAccount:devId:success:failure:
 
(void) - confirmInviteShareWithShareId:success:failure:
 
(void) - getGroupShareMemberListWithGroupId:success:failure:
 
(void) - addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:
 
(void) - removeGroupShareWithRelationId:groupId:success:failure:
 
(void) - removeDeviceShareWithMemberId:devId:success:failure:
 
(void) - addDeviceShareWithRequestModel:success:failure:
 
(void) - addShareWithMemberId:devIds:success:failure:
 
(void) - getShareMemberListWithSpaceId:success:failure:
 
(void) - getReceiveMemberListWithSuccess:failure:
 
(void) - getShareMemberDetailWithMemberId:success:failure:
 
(void) - getReceiveMemberDetailWithMemberId:success:failure:
 
(void) - removeShareMemberWithMemberId:success:failure:
 
(void) - removeReceiveShareMemberWithMemberId:success:failure:
 
(void) - renameShareMemberNameWithMemberId:name:success:failure:
 
(void) - renameReceiveShareMemberNameWithMemberId:name:success:failure:
 
(void) - getDeviceShareMemberListWithDevId:success:failure:
 
(void) - inviteShareWithCountryCode:userAccount:devId:success:failure:
 
(void) - confirmInviteShareWithShareId:success:failure:
 
(void) - getGroupShareMemberListWithGroupId:success:failure:
 
(void) - addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:
 
(void) - removeGroupShareWithRelationId:groupId:success:failure:
 
(void) - removeDeviceShareWithMemberId:devId:success:failure:
 
(void) - addDeviceShareWithRequestModel:success:failure:
 
(void) - addShareWithMemberId:devIds:success:failure:
 
(void) - getShareMemberListWithSpaceId:success:failure:
 
(void) - getReceiveMemberListWithSuccess:failure:
 
(void) - getShareMemberDetailWithMemberId:success:failure:
 
(void) - getReceiveMemberDetailWithMemberId:success:failure:
 
(void) - removeShareMemberWithMemberId:success:failure:
 
(void) - removeReceiveShareMemberWithMemberId:success:failure:
 
(void) - renameShareMemberNameWithMemberId:name:success:failure:
 
(void) - renameReceiveShareMemberNameWithMemberId:name:success:failure:
 
(void) - getDeviceShareMemberListWithDevId:success:failure:
 
(void) - inviteShareWithCountryCode:userAccount:devId:success:failure:
 
(void) - confirmInviteShareWithShareId:success:failure:
 
(void) - getGroupShareMemberListWithGroupId:success:failure:
 
(void) - addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:
 
(void) - removeGroupShareWithRelationId:groupId:success:failure:
 
(void) - removeDeviceShareWithMemberId:devId:success:failure:
 
(void) - addShareWithHomeId:countryCode:userAccount:devIds:success:failure:
 
(void) - addShareWithHomeId:countryCode:userAccount:devIds:success:failure:
 
(void) - addShareWithHomeId:countryCode:userAccount:devIds:success:failure:
 
(void) - addShareWithHomeId:countryCode:userAccount:devIds:success:failure:
 
(void) - addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure:
 
(void) - addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure:
 
(void) - addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure:
 
(void) - addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure:
 
(void) - getShareGroupFromInfoWithGroupId:success:failure:
 
(void) - getShareGroupFromInfoWithGroupId:success:failure:
 
(void) - getShareGroupFromInfoWithGroupId:success:failure:
 
(void) - getShareGroupFromInfoWithGroupId:success:failure:
 
(void) - removeShareGroupWithGroupId:success:failure:
 
(void) - removeShareGroupWithGroupId:success:failure:
 
(void) - removeShareGroupWithGroupId:success:failure:
 
(void) - removeShareGroupWithGroupId:success:failure:
 
(void) - getShareInfoWithDevId:success:failure:
 
(void) - getShareInfoWithDevId:success:failure:
 
(void) - getShareInfoWithDevId:success:failure:
 
(void) - getShareInfoWithDevId:success:failure:
 
(void) - removeReceiveDeviceShareWithDevId:success:failure:
 
(void) - removeReceiveDeviceShareWithDevId:success:failure:
 
(void) - removeReceiveDeviceShareWithDevId:success:failure:
 
(void) - removeReceiveDeviceShareWithDevId:success:failure:
 
(void) - getShareMemberListWithHomeId:success:failure:
 
(void) - getShareMemberListWithHomeId:success:failure:
 
(void) - getShareMemberListWithHomeId:success:failure:
 
(void) - getShareMemberListWithHomeId:success:failure:
 
(void) - addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure:
 
(void) - addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure:
 
(void) - addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure:
 
(void) - addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure:
 

Detailed Description

Shares devices based on device types.

Definition at line 13 of file ThingSmartShareKitApi.h.

Method Documentation

◆ addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure: [1/4]

- (void) addDeviceShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a task to share a single device.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure: [2/4]

- (void) addDeviceShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a task to share a single device.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure: [3/4]

- (void) addDeviceShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a task to share a single device.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addDeviceShareWithHomeId:countryCode:userAccount:devId:success:failure: [4/4]

- (void) addDeviceShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a task to share a single device.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) addDeviceShareWithRequestModel: (ThingSmartDeviceShareRequestModel *)  requestModel
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: (ThingFailureError failure 

Adds a device to be shared.

Parameters
requestModelAdds a device model to be shared.
successCalled when the task is finished. ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) addDeviceShareWithRequestModel: (ThingSmartDeviceShareRequestModel *)  requestModel
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: (ThingFailureError failure 

Adds a device to be shared.

Parameters
requestModelAdds a device model to be shared.
successCalled when the task is finished. ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) addDeviceShareWithRequestModel: (ThingSmartDeviceShareRequestModel *)  requestModel
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: (ThingFailureError failure 

Adds a device to be shared.

Parameters
requestModelAdds a device model to be shared.
successCalled when the task is finished. ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) addDeviceShareWithRequestModel: (ThingSmartDeviceShareRequestModel *)  requestModel
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: (ThingFailureError failure 

Adds a device to be shared.

Parameters
requestModelAdds a device model to be shared.
successCalled when the task is finished. ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

◆ addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure: [1/4]

- (void) addGroupShareToMemberWithHomeId: (long long)  homeId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:] 

Shares groups to other users.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure: [2/4]

- (void) addGroupShareToMemberWithHomeId: (long long)  homeId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:] 

Shares groups to other users.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure: [3/4]

- (void) addGroupShareToMemberWithHomeId: (long long)  homeId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:] 

Shares groups to other users.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addGroupShareToMemberWithHomeId:countyCode:userAccount:groupId:success:failure: [4/4]

- (void) addGroupShareToMemberWithHomeId: (long long)  homeId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure:] 

Shares groups to other users.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure: [1/4]

- (void) addGroupShareToMemberWithSpaceId: (long long)  spaceId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Shares groups to other users.

Parameters
spaceIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure: [2/4]

- (void) addGroupShareToMemberWithSpaceId: (long long)  spaceId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Shares groups to other users.

Parameters
spaceIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure: [3/4]

- (void) addGroupShareToMemberWithSpaceId: (long long)  spaceId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Shares groups to other users.

Parameters
spaceIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ addGroupShareToMemberWithSpaceId:countyCode:userAccount:groupId:success:failure: [4/4]

- (void) addGroupShareToMemberWithSpaceId: (long long)  spaceId
countyCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
groupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

Shares groups to other users.

Parameters
spaceIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ addShareWithHomeId:countryCode:userAccount:devIds:success:failure: [1/4]

- (void) addShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devIds: (NSArray< NSString * > *)  devIds
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a sharing task.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addShareWithHomeId:countryCode:userAccount:devIds:success:failure: [2/4]

- (void) addShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devIds: (NSArray< NSString * > *)  devIds
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a sharing task.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addShareWithHomeId:countryCode:userAccount:devIds:success:failure: [3/4]

- (void) addShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devIds: (NSArray< NSString * > *)  devIds
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a sharing task.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addShareWithHomeId:countryCode:userAccount:devIds:success:failure: [4/4]

- (void) addShareWithHomeId: (long long)  homeId
countryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devIds: (NSArray< NSString * > *)  devIds
success: (void(^)(ThingSmartShareMemberModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare addDeviceShareWithRequestModel:success:failure:] 

Adds a sharing task.

Parameters
homeIdThe home ID.
countryCodeThe country code.
userAccountThe user account.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.
Deprecated:
This method is deprecated. Use addDeviceShareWithRequestModel:success:failure: instead.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

◆ addShareWithMemberId:devIds:success:failure: [1/4]

- (void) addShareWithMemberId: (NSInteger)  memberId
devIds: (NSArray< NSString * > *)  devIds
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Adds extra devices to be shared. The existing shared devices are not overwritten.

Parameters
memberIdThe member ID.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ addShareWithMemberId:devIds:success:failure: [2/4]

- (void) addShareWithMemberId: (NSInteger)  memberId
devIds: (NSArray< NSString * > *)  devIds
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Adds extra devices to be shared. The existing shared devices are not overwritten.

Parameters
memberIdThe member ID.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ addShareWithMemberId:devIds:success:failure: [3/4]

- (void) addShareWithMemberId: (NSInteger)  memberId
devIds: (NSArray< NSString * > *)  devIds
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Adds extra devices to be shared. The existing shared devices are not overwritten.

Parameters
memberIdThe member ID.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ addShareWithMemberId:devIds:success:failure: [4/4]

- (void) addShareWithMemberId: (NSInteger)  memberId
devIds: (NSArray< NSString * > *)  devIds
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Adds extra devices to be shared. The existing shared devices are not overwritten.

Parameters
memberIdThe member ID.
devIdsA list of device IDs.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) confirmInviteShareWithShareId: (NSInteger)  shareId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Confirms the sharing invitation.

Parameters
shareIdThe shareId that is returned by the sharing invitation API operation.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) confirmInviteShareWithShareId: (NSInteger)  shareId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Confirms the sharing invitation.

Parameters
shareIdThe shareId that is returned by the sharing invitation API operation.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) confirmInviteShareWithShareId: (NSInteger)  shareId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Confirms the sharing invitation.

Parameters
shareIdThe shareId that is returned by the sharing invitation API operation.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) confirmInviteShareWithShareId: (NSInteger)  shareId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Confirms the sharing invitation.

Parameters
shareIdThe shareId that is returned by the sharing invitation API operation.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) getDeviceShareMemberListWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of users who share a specific device.

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

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

- (void) getDeviceShareMemberListWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of users who share a specific device.

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

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

- (void) getDeviceShareMemberListWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of users who share a specific device.

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

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

- (void) getDeviceShareMemberListWithDevId: (NSString *)  devId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of users who share a specific device.

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

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

- (void) getGroupShareMemberListWithGroupId: (NSString *)  groupId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.

Parameters
groupIdThe group ID.
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getGroupShareMemberListWithGroupId: (NSString *)  groupId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.

Parameters
groupIdThe group ID.
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getGroupShareMemberListWithGroupId: (NSString *)  groupId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.

Parameters
groupIdThe group ID.
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getGroupShareMemberListWithGroupId: (NSString *)  groupId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.

Parameters
groupIdThe group ID.
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getReceiveMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartReceiveMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who receives shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getReceiveMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartReceiveMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who receives shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getReceiveMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartReceiveMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who receives shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getReceiveMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartReceiveMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who receives shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

◆ getReceiveMemberListWithSuccess:failure: [1/4]

- (void) getReceiveMemberListWithSuccess: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who receive shared devices.

Parameters
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

◆ getReceiveMemberListWithSuccess:failure: [2/4]

- (void) getReceiveMemberListWithSuccess: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who receive shared devices.

Parameters
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

◆ getReceiveMemberListWithSuccess:failure: [3/4]

- (void) getReceiveMemberListWithSuccess: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who receive shared devices.

Parameters
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

◆ getReceiveMemberListWithSuccess:failure: [4/4]

- (void) getReceiveMemberListWithSuccess: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who receive shared devices.

Parameters
successCalled when the task is finished. A list of ThingSmartShareMemberModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getShareGroupFromInfoWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartGroup getShareGroupFromInfoWithSuccess:failure:] 

Returns sharing information of the group.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareGroupFromInfoWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartGroup getShareGroupFromInfoWithSuccess:failure:] 

Returns sharing information of the group.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareGroupFromInfoWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartGroup getShareGroupFromInfoWithSuccess:failure:] 

Returns sharing information of the group.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareGroupFromInfoWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartGroup getShareGroupFromInfoWithSuccess:failure:] 

Returns sharing information of the group.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareInfoWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartReceivedShareUserModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice -(void) getShareInfoWitSuccess:failure:] 

Returns the users who initiate device sharing.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareInfoWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartReceivedShareUserModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice -(void) getShareInfoWitSuccess:failure:] 

Returns the users who initiate device sharing.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareInfoWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartReceivedShareUserModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice -(void) getShareInfoWitSuccess:failure:] 

Returns the users who initiate device sharing.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareInfoWithDevId: (NSString *)  devId
success: (void(^)(ThingSmartReceivedShareUserModel *model))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice -(void) getShareInfoWitSuccess:failure:] 

Returns the users who initiate device sharing.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartShareMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who initiates sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getShareMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartShareMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who initiates sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getShareMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartShareMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who initiates sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getShareMemberDetailWithMemberId: (NSInteger)  memberId
success: (void(^)(ThingSmartShareMemberDetailModel *model))  success
failure: (ThingFailureError failure 

Returns the shared device data of a single user who initiates sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished. ThingSmartShareMemberDetailModel is returned.
failureCalled when the task is interrupted by an error.

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

- (void) getShareMemberListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare getShareMemberListWithSpaceId:success:failure:] 

Returns all users who initiate device sharing for a home.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareMemberListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare getShareMemberListWithSpaceId:success:failure:] 

Returns all users who initiate device sharing for a home.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareMemberListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare getShareMemberListWithSpaceId:success:failure:] 

Returns all users who initiate device sharing for a home.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareMemberListWithHomeId: (long long)  homeId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartHomeDeviceShare getShareMemberListWithSpaceId:success:failure:] 

Returns all users who initiate device sharing for a home.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) getShareMemberListWithSpaceId: (long long)  spaceId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who initiate device sharing for a home.

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

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

- (void) getShareMemberListWithSpaceId: (long long)  spaceId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who initiate device sharing for a home.

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

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

- (void) getShareMemberListWithSpaceId: (long long)  spaceId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who initiate device sharing for a home.

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

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

- (void) getShareMemberListWithSpaceId: (long long)  spaceId
success: (void(^)(NSArray< ThingSmartShareMemberModel * > *list))  success
failure: (ThingFailureError failure 

Returns all users who initiate device sharing for a home.

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

◆ inviteShareWithCountryCode:userAccount:devId:success:failure: [1/4]

- (void) inviteShareWithCountryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (ThingSuccessInt success
failure: (ThingFailureError failure 

Sends an invitation to other users to share a device.

Parameters
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ inviteShareWithCountryCode:userAccount:devId:success:failure: [2/4]

- (void) inviteShareWithCountryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (ThingSuccessInt success
failure: (ThingFailureError failure 

Sends an invitation to other users to share a device.

Parameters
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ inviteShareWithCountryCode:userAccount:devId:success:failure: [3/4]

- (void) inviteShareWithCountryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (ThingSuccessInt success
failure: (ThingFailureError failure 

Sends an invitation to other users to share a device.

Parameters
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ inviteShareWithCountryCode:userAccount:devId:success:failure: [4/4]

- (void) inviteShareWithCountryCode: (NSString *)  countryCode
userAccount: (NSString *)  userAccount
devId: (NSString *)  devId
success: (ThingSuccessInt success
failure: (ThingFailureError failure 

Sends an invitation to other users to share a device.

Parameters
countryCodeThe country code.
userAccountThe user account.
devIdThe device ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ removeDeviceShareWithMemberId:devId:success:failure: [1/4]

- (void) removeDeviceShareWithMemberId: (NSInteger)  memberId
devId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Deletes the device that is shared.

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

◆ removeDeviceShareWithMemberId:devId:success:failure: [2/4]

- (void) removeDeviceShareWithMemberId: (NSInteger)  memberId
devId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Deletes the device that is shared.

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

◆ removeDeviceShareWithMemberId:devId:success:failure: [3/4]

- (void) removeDeviceShareWithMemberId: (NSInteger)  memberId
devId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Deletes the device that is shared.

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

◆ removeDeviceShareWithMemberId:devId:success:failure: [4/4]

- (void) removeDeviceShareWithMemberId: (NSInteger)  memberId
devId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Deletes the device that is shared.

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

◆ removeGroupShareWithRelationId:groupId:success:failure: [1/4]

- (void) removeGroupShareWithRelationId: (NSInteger)  relationId
groupId: (NSString *)  groupId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes the device sharing group from a member.

Parameters
relationIdThe member ID.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ removeGroupShareWithRelationId:groupId:success:failure: [2/4]

- (void) removeGroupShareWithRelationId: (NSInteger)  relationId
groupId: (NSString *)  groupId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes the device sharing group from a member.

Parameters
relationIdThe member ID.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ removeGroupShareWithRelationId:groupId:success:failure: [3/4]

- (void) removeGroupShareWithRelationId: (NSInteger)  relationId
groupId: (NSString *)  groupId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes the device sharing group from a member.

Parameters
relationIdThe member ID.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ removeGroupShareWithRelationId:groupId:success:failure: [4/4]

- (void) removeGroupShareWithRelationId: (NSInteger)  relationId
groupId: (NSString *)  groupId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes the device sharing group from a member.

Parameters
relationIdThe member ID.
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeReceiveDeviceShareWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice removeReceiveDeviceShareWithSuccess:failure:] 

Removes the device that is shared and received.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeReceiveDeviceShareWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice removeReceiveDeviceShareWithSuccess:failure:] 

Removes the device that is shared and received.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeReceiveDeviceShareWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice removeReceiveDeviceShareWithSuccess:failure:] 

Removes the device that is shared and received.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeReceiveDeviceShareWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: ("This method is)  deprecated
(Use ")  __deprecated_msg[ThingSmartDevice removeReceiveDeviceShareWithSuccess:failure:] 

Removes the device that is shared and received.

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

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeReceiveShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who receive shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeReceiveShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who receive shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeReceiveShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who receive shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeReceiveShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who receive shared devices.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeShareGroupWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use Instead")  __deprecated_msg[ThingSmartGroup removeShareGroupWithSuccess:failure:] 

Removes sharing groups.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeShareGroupWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use Instead")  __deprecated_msg[ThingSmartGroup removeShareGroupWithSuccess:failure:] 

Removes sharing groups.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeShareGroupWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use Instead")  __deprecated_msg[ThingSmartGroup removeShareGroupWithSuccess:failure:] 

Removes sharing groups.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeShareGroupWithGroupId: (NSString *)  groupId
success: (ThingSuccessID success
failure: ("This method is)  deprecated
(Use Instead")  __deprecated_msg[ThingSmartGroup removeShareGroupWithSuccess:failure:] 

Removes sharing groups.

Parameters
groupIdThe group ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).

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

- (void) removeShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who initiate device sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who initiate device sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who initiate device sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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

- (void) removeShareMemberWithMemberId: (NSInteger)  memberId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Removes users who initiate device sharing.

Parameters
memberIdThe member ID.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [1/4]

- (void) renameReceiveShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who receives shared devices.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [2/4]

- (void) renameReceiveShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who receives shared devices.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [3/4]

- (void) renameReceiveShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who receives shared devices.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [4/4]

- (void) renameReceiveShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who receives shared devices.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameShareMemberNameWithMemberId:name:success:failure: [1/4]

- (void) renameShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who initiates device sharing.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameShareMemberNameWithMemberId:name:success:failure: [2/4]

- (void) renameShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who initiates device sharing.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameShareMemberNameWithMemberId:name:success:failure: [3/4]

- (void) renameShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who initiates device sharing.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ renameShareMemberNameWithMemberId:name:success:failure: [4/4]

- (void) renameShareMemberNameWithMemberId: (NSInteger)  memberId
name: (NSString *)  name
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Changes the nickname of the user who initiates device sharing.

Parameters
memberIdThe member ID.
nameThe nickname.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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