Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f81ed1

Browse files
author
moblarry
committed
update v4.3.13
1 parent 1408372 commit 9f81ed1

File tree

564 files changed

+4585
-3762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

564 files changed

+4585
-3762
lines changed

SDK/ShareSDK/ShareSDK.framework/Headers/NSMutableDictionary+SSDKInit.h

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -139,40 +139,7 @@ extern NSString *const SSDKAuthTypeWeb;
139139
authType:(NSString *)authType __deprecated_msg("Discard form v4.2.0");
140140

141141

142-
/**
143-
* 设置腾讯微博应用信息
144-
*
145-
* @param appKey 应用标识
146-
* @param appSecret 应用密钥
147-
* @param redirectUri 回调地址
148-
*/
149-
- (void)SSDKSetupTencentWeiboByAppKey:(NSString *)appKey
150-
appSecret:(NSString *)appSecret
151-
redirectUri:(NSString *)redirectUri __deprecated_msg("Discard form v4.2.0");
152-
153-
/**
154-
* 设置豆瓣应用信息
155-
*
156-
* @param apiKey 应用标识
157-
* @param secret 应用密钥
158-
* @param redirectUri 回调地址
159-
*/
160-
- (void)SSDKSetupDouBanByApiKey:(NSString *)apiKey
161-
secret:(NSString *)secret
162-
redirectUri:(NSString *)redirectUri __deprecated_msg("Discard form v4.2.0");
163142

164-
/**
165-
* 设置人人网应用信息
166-
*
167-
* @param appId 应用标识
168-
* @param appKey 应用Key
169-
* @param secretKey 应用密钥
170-
* @param authType 授权方式。值可以是:SSDKAuthTypeSSO、SSDKAuthTypeWeb、SSDKAuthTypeBoth,分别代表SSO、网页授权、SSO+网页授权。
171-
*/
172-
- (void)SSDKSetupRenRenByAppId:(NSString *)appId
173-
appKey:(NSString *)appKey
174-
secretKey:(NSString *)secretKey
175-
authType:(NSString *)authType __deprecated_msg("Discard form v4.2.0");
176143

177144
/**
178145
* 设置开心网应用信息
@@ -361,13 +328,6 @@ extern NSString *const SSDKAuthTypeWeb;
361328
*/
362329
- (void)SSDKSetupDingTalkByAppId:(NSString *)appId __deprecated_msg("Discard form v4.2.0");
363330

364-
/**
365-
设置美拍应用信息
366-
367-
@param appKey 应用标识
368-
*/
369-
- (void)SSDKSetupMeiPaiByAppKey:(NSString *)appKey __deprecated_msg("Discard form v4.2.0");
370-
371331
/**
372332
设置youtube应用信息
373333
@@ -386,17 +346,6 @@ extern NSString *const SSDKAuthTypeWeb;
386346
- (void)SSDKSetupLineAuthType:(NSString *)authType __deprecated_msg("Discard form v4.2.0");
387347

388348

389-
/**
390-
设置CMCC应用信息
391-
392-
@param appid 应用标识
393-
@param appkey 应用密钥
394-
@param displayUI 是否显示SDK的授权界面
395-
*/
396-
- (void)SSDKSetupCMCCByAppId:(NSString *)appid
397-
appKey:(NSString *)appkey
398-
displayUI:(BOOL)displayUI __deprecated_msg("Discard form v4.2.0");
399-
400349
//打开短信登录的国家列表选择
401350
- (void)SSDKSetpSMSOpenCountryList:(BOOL)open __deprecated_msg("Discard form v4.2.0");
402351
@end

SDK/ShareSDK/ShareSDK.framework/Headers/NSMutableDictionary+SSDKShare.h

Lines changed: 37 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -525,25 +525,6 @@
525525
boardName:(NSString *)boardName;
526526

527527

528-
#pragma mark - 豆瓣
529-
530-
/**
531-
* 设置豆瓣分享参数
532-
*
533-
* @param text 文本
534-
* @param image 分享图片,当type为Image时,可以为UIImage、NSString(图片路径)、NSURL(图片路径)、SSDKImage。当type为WebPage时,只能为网络图片,可以传入NSString(图片路径)、NSURL(图片路径)。
535-
* @param title 网页标题,仅在type为WebPage时有效。
536-
* @param url 网页链接,仅在type为WebPage时有效。
537-
* @param urlDesc 网页描述,仅在type为WebPage时有效。
538-
* @param type 分享类型,仅支持Text、Image、WebPage类型
539-
*/
540-
- (void)SSDKSetupDouBanParamsByText:(NSString *)text
541-
image:(id)image
542-
title:(NSString *)title
543-
url:(NSURL *)url
544-
urlDesc:(NSString *)urlDesc
545-
type:(SSDKContentType)type;
546-
547528

548529
#pragma mark - Dropbox
549530
/**
@@ -805,18 +786,6 @@
805786
type:(SSDKContentType)type;
806787

807788

808-
#pragma mark - 美拍
809-
810-
/**
811-
设置 美拍分享参数
812-
813-
@param url 相册地址 或 本地图片 视频 路径
814-
@param type 内容类型 只支持图片 和 视频格式,请确认url和对应的type类型一致
815-
*/
816-
- (void)SSDKSetupMeiPaiParamsByUrl:(NSURL *)url contentType:(SSDKContentType)type;
817-
818-
- (void)SSDKSetupMeiPaiParamsByUrl:(NSURL *)url type:(SSDKContentType)type __deprecated_msg("Discard form v4.2.0");
819-
820789
#pragma mark - Pocket
821790

822791
/**
@@ -832,7 +801,6 @@
832801
tags:(id)tags
833802
tweetId:(NSString *)tweetId;
834803

835-
836804
#pragma mark - SMS
837805

838806
/**
@@ -994,22 +962,6 @@
994962
type:(SSDKContentType)type;
995963

996964

997-
#pragma mark - TencentWeibo
998-
999-
/**
1000-
* 设置腾讯微博分享参数
1001-
*
1002-
* @param text 文本
1003-
* @param images 分享图片列表,传入参数可以为单张图片信息,也可以为一个NSArray,数组元素可以为UIImage、NSString(图片路径)、NSURL(图片路径)、SSDKImage。如: @"http://www.mob.com/images/logo_black.png" 或 @[@"http://www.mob.com/images/logo_black.png"]
1004-
* @param latitude 纬度
1005-
* @param longitude 经度
1006-
* @param type 分享类型, 仅支持Text、Image类型
1007-
*/
1008-
- (void)SSDKSetupTencentWeiboShareParamsByText:(NSString *)text
1009-
images:(id)images
1010-
latitude:(double)latitude
1011-
longitude:(double)longitude
1012-
type:(SSDKContentType)type;
1013965

1014966
#pragma mark - 邮件 Mail
1015967
/**
@@ -1034,22 +986,6 @@
1034986
type:(SSDKContentType)type;
1035987

1036988

1037-
#pragma mark - 人人网
1038-
/**
1039-
* 设置人人网分享参数
1040-
*
1041-
* @param text 文本
1042-
* @param image 分享图片,可以为UIImage、NSString(图片路径)、NSURL(图片路径)、SSDKImage,仅在type为Image时有效。
1043-
* @param url 网页链接,仅在type为WebPage时有效。
1044-
* @param albumId 相册ID,指定分享的图片要放入哪个相册,默认为nil,仅在type为Image时有效。
1045-
* @param type 分享类型,仅支持Image、WebPage类型
1046-
*/
1047-
- (void)SSDKSetupRenRenParamsByText:(NSString *)text
1048-
image:(id)image
1049-
url:(NSURL *)url
1050-
albumId:(NSString *)albumId
1051-
type:(SSDKContentType)type;
1052-
1053989
#pragma mark - 有道云笔记
1054990
/**
1055991
* 设置有道云笔记分享参数
@@ -1212,7 +1148,43 @@
12121148
stickerRotation:(CGFloat)stickerRotation
12131149
cameraViewState:(NSInteger)cameraViewState
12141150
type:(SSDKContentType)type;
1215-
1151+
1152+
#pragma mark - 快手
1153+
1154+
/** 设置快手分享参数
1155+
1156+
1157+
* @param title 标题
1158+
1159+
* @param desc 描述
1160+
1161+
* @param linkURL 私信-点击的链接地址
1162+
1163+
* @param thumbImage 私信-缩略图(不能超过1M)
1164+
1165+
* @param openID 要查看的用户的openID,可选
1166+
1167+
* @param receiverOpenID 接收方 openid , 可选,当不填时,快手 APP 会调启选择好友界面来确定接收方
1168+
1169+
* @param localIdentifier 分享的相册图片/视频的相册标识(此参数和path互斥,如同时存在以localIdentifier为准)
1170+
1171+
* @param path 分享的相册图片/视频的路径(此参数和localIdentifier互斥,如同时存在以localIdentifier为准)
1172+
1173+
* @param tags 视频分享-标签数组
1174+
1175+
* @param type 分享的类型
1176+
*/
1177+
- (void)SSDKSetupKuaiShouShareParamsByTitle:(NSString *)title
1178+
desc:(NSString *)desc
1179+
linkURL:(NSString *)linkURL
1180+
thumbImage:(UIImage *)thumbImage
1181+
openID:(NSString *)openID
1182+
receiverOpenID:(NSString *)receiverOpenID
1183+
localIdentifier:(NSString *)localIdentifier
1184+
path:(NSString *)path
1185+
tags:(NSArray<NSString *> *)tags
1186+
extraInfo:(NSString *)extraInfo
1187+
type:(SSDKContentType)type;
12161188

12171189
#pragma mark - Deprecated
12181190

SDK/ShareSDK/ShareSDK.framework/Headers/SSDKRegister.h

Lines changed: 11 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,6 @@
7373
appSecret:(NSString *)appSecret
7474
displayName:(NSString *)displayName;
7575

76-
/**
77-
设置腾讯微博应用信息
78-
79-
@param appkey 应用标识
80-
@param appSecret 应用密钥
81-
@param redirectUrl 回调地址
82-
*/
83-
- (void)setupTencentWeiboWithAppkey:(NSString *)appkey
84-
appSecret:(NSString *)appSecret
85-
redirectUrl:(NSString *)redirectUrl;
8676

8777

8878
/**
@@ -107,31 +97,8 @@
10797
consumerSecret:(NSString *)consumerSecret
10898
sandbox:(BOOL)sandbox;
10999

110-
/**
111-
设置豆瓣应用信息
112-
113-
@param apikey 应用标识
114-
@param appSecret 应用密钥
115-
@param redirectUrl 回调地址
116-
*/
117-
- (void)setupDouBanWithApikey:(NSString *)apikey
118-
appSecret:(NSString *)appSecret
119-
redirectUrl:(NSString *)redirectUrl;
120100

121101

122-
/**
123-
设置人人网应用信息
124-
125-
@param appId 应用标识
126-
@param appKey 应用Key
127-
@param secretKey 应用密钥
128-
@param authType 授权方式。值可以是:SSO、Web、Both,分别代表SSO、网页授权、SSO+网页授权。
129-
*/
130-
- (void)setupRenRenWithAppId:(NSString *)appId
131-
appKey:(NSString *)appKey
132-
secretKey:(NSString *)secretKey
133-
authType:(SSDKAuthorizeType)authType;
134-
135102
/**
136103
设置开心网应用信息
137104
@@ -299,12 +266,6 @@
299266
appSecret:(NSString *)appSecret
300267
redirectUrl:(NSString *)redirectUrl;
301268

302-
/**
303-
设置美拍应用信息
304-
305-
@param appkey 应用标识
306-
*/
307-
- (void)setupMeiPaiWithAppkey:(NSString *)appkey;
308269

309270
/**
310271
设置youtube应用信息
@@ -332,6 +293,7 @@
332293
- (void)setupSMSOpenCountryList:(BOOL)open;
333294

334295

296+
335297
/**
336298
设置明道应用信息
337299
@@ -343,17 +305,6 @@
343305
appSecret:(NSString *)appSecret
344306
redirectUrl:(NSString *)redirectUrl;
345307

346-
/**
347-
设置CMCC应用信息
348-
349-
@param appid 应用标识
350-
@param appkey 应用密钥
351-
@param displayUI 是否显示SDK的授权界面
352-
*/
353-
- (void)setupCMCCByAppId:(NSString *)appid
354-
appKey:(NSString *)appkey
355-
displayUI:(BOOL)displayUI;
356-
357308

358309
/**
359310
设置Telegram 机器人bot 该方法主要用于用户登录使用 使用分享可以不配置
@@ -374,16 +325,6 @@
374325
- (void)setupRedditByAppKey:(NSString *)appkey
375326
redirectUri:(NSString *)redirectUri;
376327

377-
/**
378-
设置天翼应用信息
379-
380-
@param appkey 应用标识
381-
@param appSecret 应用密钥
382-
@param appName 应用名称
383-
*/
384-
- (void)setupESurfingByAppKey:(NSString *)appkey
385-
appSecret:(NSString *)appSecret
386-
appName:(NSString *)appName;
387328

388329

389330
/**
@@ -435,4 +376,14 @@
435376
clientSecret:(NSString *)clientSecret
436377
redirectUrl:(NSString *)redirectUrl;
437378

379+
/**
380+
设置快手应用信息
381+
382+
@param appId 应用标识
383+
@param universalLink 应用深度连接
384+
*/
385+
- (void)setupKuaiShouWithAppId:(NSString *)appId
386+
appSecret:(NSString *)appSecret
387+
universalLink:(NSString *)universalLink
388+
delegate:(id)delegate;
438389
@end
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//
2+
// SSDKShareVideoModel.h
3+
// ShareSDK
4+
//
5+
// Created by yoozoo on 2020/9/7.
6+
// Copyright © 2020 掌淘科技. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
@interface SSDKShareVideoModel : NSObject
14+
//app图标
15+
@property (nonatomic, copy) NSString * appIcon;
16+
//app名称
17+
@property (nonatomic, copy) NSString * appName;
18+
//app描述
19+
@property (nonatomic, copy) NSString * appDesc;
20+
//app下载二维码
21+
@property (nonatomic, copy) NSString * appQRcode;
22+
23+
//分享者名称
24+
@property (nonatomic, copy) NSString * shareAccount;
25+
//视频下载地址
26+
@property (nonatomic, copy) NSString * shareVideoUrl;
27+
//视频标题
28+
@property (nonatomic, copy) NSString * shareTitle;
29+
@end
30+
31+
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)