Shares devices based on device types.
More...
#import <ThingSmartShareKitApi.h>
Shares devices based on device types.
Definition at line 13 of file ThingSmartShareKitApi.h.
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ addDeviceShareWithRequestModel:success:failure: [1/4]
Adds a device to be shared.
- Parameters
-
requestModel | Adds a device model to be shared. |
success | Called when the task is finished. ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ addDeviceShareWithRequestModel:success:failure: [2/4]
Adds a device to be shared.
- Parameters
-
requestModel | Adds a device model to be shared. |
success | Called when the task is finished. ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ addDeviceShareWithRequestModel:success:failure: [3/4]
Adds a device to be shared.
- Parameters
-
requestModel | Adds a device model to be shared. |
success | Called when the task is finished. ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ addDeviceShareWithRequestModel:success:failure: [4/4]
Adds a device to be shared.
- Parameters
-
requestModel | Adds a device model to be shared. |
success | Called when the task is finished. ThingSmartShareMemberModel is returned. |
failure | Called 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
-
homeId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
homeId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
homeId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
homeId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
spaceId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
spaceId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
spaceId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
spaceId | The home ID. |
countryCode | The country code. |
userAccount | The user account. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ addShareWithMemberId:devIds:success:failure: [1/4]
Adds extra devices to be shared. The existing shared devices are not overwritten.
- Parameters
-
memberId | The member ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addShareWithMemberId:devIds:success:failure: [2/4]
Adds extra devices to be shared. The existing shared devices are not overwritten.
- Parameters
-
memberId | The member ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addShareWithMemberId:devIds:success:failure: [3/4]
Adds extra devices to be shared. The existing shared devices are not overwritten.
- Parameters
-
memberId | The member ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addShareWithMemberId:devIds:success:failure: [4/4]
Adds extra devices to be shared. The existing shared devices are not overwritten.
- Parameters
-
memberId | The member ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ confirmInviteShareWithShareId:success:failure: [1/4]
Confirms the sharing invitation.
- Parameters
-
shareId | The shareId that is returned by the sharing invitation API operation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ confirmInviteShareWithShareId:success:failure: [2/4]
Confirms the sharing invitation.
- Parameters
-
shareId | The shareId that is returned by the sharing invitation API operation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ confirmInviteShareWithShareId:success:failure: [3/4]
Confirms the sharing invitation.
- Parameters
-
shareId | The shareId that is returned by the sharing invitation API operation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ confirmInviteShareWithShareId:success:failure: [4/4]
Confirms the sharing invitation.
- Parameters
-
shareId | The shareId that is returned by the sharing invitation API operation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ getDeviceShareMemberListWithDevId:success:failure: [1/4]
Returns a list of users who share a specific device.
- Parameters
-
devId | The device ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getDeviceShareMemberListWithDevId:success:failure: [2/4]
Returns a list of users who share a specific device.
- Parameters
-
devId | The device ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getDeviceShareMemberListWithDevId:success:failure: [3/4]
Returns a list of users who share a specific device.
- Parameters
-
devId | The device ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getDeviceShareMemberListWithDevId:success:failure: [4/4]
Returns a list of users who share a specific device.
- Parameters
-
devId | The device ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getGroupShareMemberListWithGroupId:success:failure: [1/4]
Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getGroupShareMemberListWithGroupId:success:failure: [2/4]
Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getGroupShareMemberListWithGroupId:success:failure: [3/4]
Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getGroupShareMemberListWithGroupId:success:failure: [4/4]
Returns a list of device-sharing users by group ID. The group ID is displayed on the panel.
- Parameters
-
groupId | The group ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberDetailWithMemberId:success:failure: [1/4]
Returns the shared device data of a single user who receives shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberDetailWithMemberId:success:failure: [2/4]
Returns the shared device data of a single user who receives shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberDetailWithMemberId:success:failure: [3/4]
Returns the shared device data of a single user who receives shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberDetailWithMemberId:success:failure: [4/4]
Returns the shared device data of a single user who receives shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberListWithSuccess:failure: [1/4]
Returns all users who receive shared devices.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberListWithSuccess:failure: [2/4]
Returns all users who receive shared devices.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberListWithSuccess:failure: [3/4]
Returns all users who receive shared devices.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getReceiveMemberListWithSuccess:failure: [4/4]
Returns all users who receive shared devices.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called 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
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ getShareMemberDetailWithMemberId:success:failure: [1/4]
Returns the shared device data of a single user who initiates sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getShareMemberDetailWithMemberId:success:failure: [2/4]
Returns the shared device data of a single user who initiates sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getShareMemberDetailWithMemberId:success:failure: [3/4]
Returns the shared device data of a single user who initiates sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getShareMemberDetailWithMemberId:success:failure: [4/4]
Returns the shared device data of a single user who initiates sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. ThingSmartShareMemberDetailModel is returned. |
failure | Called 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ 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:] |
|
|
| |
◆ getShareMemberListWithSpaceId:success:failure: [1/4]
Returns all users who initiate device sharing for a home.
- Parameters
-
spaceId | The home ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getShareMemberListWithSpaceId:success:failure: [2/4]
Returns all users who initiate device sharing for a home.
- Parameters
-
spaceId | The home ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getShareMemberListWithSpaceId:success:failure: [3/4]
Returns all users who initiate device sharing for a home.
- Parameters
-
spaceId | The home ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getShareMemberListWithSpaceId:success:failure: [4/4]
Returns all users who initiate device sharing for a home.
- Parameters
-
spaceId | The home ID. |
success | Called when the task is finished. A list of ThingSmartShareMemberModel is returned. |
failure | Called 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
-
countryCode | The country code. |
userAccount | The user account. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called 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
-
countryCode | The country code. |
userAccount | The user account. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called 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
-
countryCode | The country code. |
userAccount | The user account. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called 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
-
countryCode | The country code. |
userAccount | The user account. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeDeviceShareWithMemberId:devId:success:failure: [1/4]
Deletes the device that is shared.
- Parameters
-
memberId | The member ID. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeDeviceShareWithMemberId:devId:success:failure: [2/4]
Deletes the device that is shared.
- Parameters
-
memberId | The member ID. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeDeviceShareWithMemberId:devId:success:failure: [3/4]
Deletes the device that is shared.
- Parameters
-
memberId | The member ID. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeDeviceShareWithMemberId:devId:success:failure: [4/4]
Deletes the device that is shared.
- Parameters
-
memberId | The member ID. |
devId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupShareWithRelationId:groupId:success:failure: [1/4]
Removes the device sharing group from a member.
- Parameters
-
relationId | The member ID. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupShareWithRelationId:groupId:success:failure: [2/4]
Removes the device sharing group from a member.
- Parameters
-
relationId | The member ID. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupShareWithRelationId:groupId:success:failure: [3/4]
Removes the device sharing group from a member.
- Parameters
-
relationId | The member ID. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeGroupShareWithRelationId:groupId:success:failure: [4/4]
Removes the device sharing group from a member.
- Parameters
-
relationId | The member ID. |
groupId | The group ID. |
success | Called when the task is finished. |
failure | Called 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
-
devId | The device ID. |
success | Called when the task is finished. |
failure | Called 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
-
devId | The device ID. |
success | Called when the task is finished. |
failure | Called 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
-
devId | The device ID. |
success | Called when the task is finished. |
failure | Called 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
-
devId | The device ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHomeDeviceShare(ThingDeprecatedApi).
◆ removeReceiveShareMemberWithMemberId:success:failure: [1/4]
Removes users who receive shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeReceiveShareMemberWithMemberId:success:failure: [2/4]
Removes users who receive shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeReceiveShareMemberWithMemberId:success:failure: [3/4]
Removes users who receive shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeReceiveShareMemberWithMemberId:success:failure: [4/4]
Removes users who receive shared devices.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called 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:] |
|
|
| |
◆ removeShareGroupWithGroupId:success:failure: [2/4]
- (void) removeShareGroupWithGroupId: |
|
(NSString *) |
groupId |
success: |
|
(ThingSuccessID) |
success |
failure: |
|
("This method is) |
deprecated |
|
|
(Use Instead") |
__deprecated_msg[ThingSmartGroup removeShareGroupWithSuccess:failure:] |
|
|
| |
◆ removeShareGroupWithGroupId:success:failure: [3/4]
- (void) removeShareGroupWithGroupId: |
|
(NSString *) |
groupId |
success: |
|
(ThingSuccessID) |
success |
failure: |
|
("This method is) |
deprecated |
|
|
(Use Instead") |
__deprecated_msg[ThingSmartGroup removeShareGroupWithSuccess:failure:] |
|
|
| |
◆ removeShareGroupWithGroupId:success:failure: [4/4]
- (void) removeShareGroupWithGroupId: |
|
(NSString *) |
groupId |
success: |
|
(ThingSuccessID) |
success |
failure: |
|
("This method is) |
deprecated |
|
|
(Use Instead") |
__deprecated_msg[ThingSmartGroup removeShareGroupWithSuccess:failure:] |
|
|
| |
◆ removeShareMemberWithMemberId:success:failure: [1/4]
Removes users who initiate device sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeShareMemberWithMemberId:success:failure: [2/4]
Removes users who initiate device sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeShareMemberWithMemberId:success:failure: [3/4]
Removes users who initiate device sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ removeShareMemberWithMemberId:success:failure: [4/4]
Removes users who initiate device sharing.
- Parameters
-
memberId | The member ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [1/4]
Changes the nickname of the user who receives shared devices.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [2/4]
Changes the nickname of the user who receives shared devices.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [3/4]
Changes the nickname of the user who receives shared devices.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameReceiveShareMemberNameWithMemberId:name:success:failure: [4/4]
Changes the nickname of the user who receives shared devices.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameShareMemberNameWithMemberId:name:success:failure: [1/4]
Changes the nickname of the user who initiates device sharing.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameShareMemberNameWithMemberId:name:success:failure: [2/4]
Changes the nickname of the user who initiates device sharing.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameShareMemberNameWithMemberId:name:success:failure: [3/4]
Changes the nickname of the user who initiates device sharing.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ renameShareMemberNameWithMemberId:name:success:failure: [4/4]
Changes the nickname of the user who initiates device sharing.
- Parameters
-
memberId | The member ID. |
name | The nickname. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartShareKit/Build/ThingSmartShareKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartShareKit.framework/Headers/ThingSmartShareKitApi.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartShareKit/Build/ThingSmartShareKit.xcframework/watchos-arm64_i386_x86_64-simulator/ThingSmartShareKit.framework/Headers/ThingSmartShareKitApi.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartShareKit/Build/ThingSmartShareKit.xcframework/ios-arm64/ThingSmartShareKit.framework/Headers/ThingSmartShareKitApi.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartShareKit/Build/ThingSmartShareKit.xcframework/watchos-arm64_arm64_32_armv7k/ThingSmartShareKit.framework/Headers/ThingSmartShareKitApi.h