Tong
2021-09-06 5017131971e6ac8f31adc2ed1e25583738b420a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// TuyaSmartHomeDeviceShare+TYDeprecatedApi.h
// TuyaSmartDeviceKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#import "TuyaSmartHomeDeviceShare.h"
 
NS_ASSUME_NONNULL_BEGIN
 
@interface TuyaSmartHomeDeviceShare (TYDeprecatedApi)
 
/// Add Sharing
/// @param homeId homeId
/// @param countryCode countryCode
/// @param userAccount userAccount
/// @param devIds devId list
/// @param success Success block
/// @param failure Failure block
/// @deprecated This method is deprecated, Use TuyaSmartHomeDeviceShare::addDeviceShareWithRequestModel:success:failure: instead.
- (void)addShareWithHomeId:(long long)homeId
               countryCode:(NSString *)countryCode
               userAccount:(NSString *)userAccount
                    devIds:(NSArray <NSString *> *)devIds
                   success:(void(^)(TuyaSmartShareMemberModel *model))success
                   failure:(TYFailureError)failure __deprecated_msg("This method is deprecated, Use [TuyaSmartHomeDeviceShare   addDeviceShareWithRequestModel:success:failure:]");
 
 
/// Single device add share
/// @param homeId homeId
/// @param countryCode countryCode
/// @param userAccount userAccount
/// @param devId devId
/// @param success Success block
/// @param failure Failure block
/// @deprecated This method is deprecated, Use TuyaSmartHomeDeviceShare::addDeviceShareWithRequestModel:success:failure: instead.
- (void)addDeviceShareWithHomeId:(long long)homeId
                     countryCode:(NSString *)countryCode
                     userAccount:(NSString *)userAccount
                           devId:(NSString *)devId
                         success:(void(^)(TuyaSmartShareMemberModel *model))success
                         failure:(TYFailureError)failure __deprecated_msg("This method is deprecated, Use [TuyaSmartHomeDeviceShare   addDeviceShareWithRequestModel:success:failure:]");
 
@end
 
NS_ASSUME_NONNULL_END