developer
2023-05-20 e12c7b4c22df631ebdcd16b2f98fbef8f738f92f
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//
//  ShareSDK+SSUIDeprecated.h
//  ShareSDKUI
//
//  Created by Max on 2018/4/27.
//  Copyright © 2018年 mob. All rights reserved.
//
 
#import <ShareSDK/ShareSDK.h>
 
/**
 *  分享状态变更
 *
 *  @param state         返回状态
 *  @param platformType  平台类型
 *  @param userData      用户数据
 *  @param contentEntity 分享内容实体
 *  @param error         错误信息
 *  @param end           是否已经结束本次分享标识
 */
typedef void (^SSUIShareStateChangedHandler) (SSDKResponseState state,
                                              SSDKPlatformType platformType,
                                              NSDictionary *userData,
                                              SSDKContentEntity *contentEntity,
                                              NSError *error,
                                              BOOL end);
 
 
@interface ShareSDK (SSUIDeprecated)
 
/**
 *  显示分享菜单
 *
 *  @param view                     要显示菜单的视图, iPad版中此参数作为弹出菜单的参照视图
 *  @param items                    菜单项,如果传入nil,则显示已集成的平台列表
 *  @param shareParams              分享内容参数
 *  @param shareStateChangedHandler 分享状态变更事件
 *
 *  @return 分享菜单控制器
 */
+ (id)showShareActionSheet:(UIView *)view
                     items:(NSArray *)items
               shareParams:(NSMutableDictionary *)shareParams
       onShareStateChanged:(SSUIShareStateChangedHandler)shareStateChangedHandler __deprecated_msg("discard form v4.1.2");
 
/**
 *  显示内容编辑视图
 *
 *  @param platformType             分享的平台类型
 *  @param otherPlatformTypes       除分享平台外,还可以分享的平台类型。
 *  @param shareParams              分享内容参数
 *  @param shareStateChangedHandler 分享状态变更事件
 *
 *  @return 内容编辑视图控制器
 */
+ (id)showShareEditor:(SSDKPlatformType)platformType
   otherPlatformTypes:(NSArray *)otherPlatformTypes
          shareParams:(NSMutableDictionary *)shareParams
  onShareStateChanged:(SSUIShareStateChangedHandler)shareStateChangedHandler __deprecated_msg("discard form v4.1.2");
 
 
/**
 *  设置支持的页面方向
 */
+ (void)setSupportedInterfaceOrientation:(UIInterfaceOrientationMask)toInterfaceOrientation __deprecated_msg("discard form v4.1.2");
 
@end