Permalink
Browse files

iOS v4.0.1更新

  • Loading branch information...
anplex
anplex committed Jul 17, 2017
1 parent 1a22cac commit 7f0c8330d903d3dfb652b47598d09fd0dcd168dc
Showing with 128 additions and 94 deletions.
  1. +17 −4 Classes/C2DXShareSDK/ios/C2DXiOSShareSDK.mm
  2. +6 −2 Classes/HelloWorldScene.cpp
  3. BIN proj.ios_mac/SDK/Required/MOBFoundation.framework/Info.plist
  4. BIN proj.ios_mac/SDK/Required/MOBFoundation.framework/MOBFoundation
  5. +2 −2 proj.ios_mac/SDK/Required/MOBFoundation.framework/readme
  6. +15 −3 proj.ios_mac/SDK/ShareSDK/ShareSDK.framework/Headers/NSMutableDictionary+SSDKShare.h
  7. BIN proj.ios_mac/SDK/ShareSDK/ShareSDK.framework/Info.plist
  8. BIN proj.ios_mac/SDK/ShareSDK/ShareSDK.framework/ShareSDK
  9. BIN proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKConfigFile.framework/Info.plist
  10. BIN proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKConfigFile.framework/ShareSDKConfigFile
  11. BIN proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKExtension.framework/Info.plist
  12. BIN proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKExtension.framework/ShareSDKExtension
  13. +0 −1 ...s_mac/SDK/ShareSDK/Support/Optional/ShareSDKUI.framework/Headers/SSUIShareActionSheetController.h
  14. +1 −0 proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKUI.framework/Headers/ShareSDK+SSUI.h
  15. +3 −0 proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKUI.framework/Headers/ShareSDKUI.h
  16. BIN proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKUI.framework/Info.plist
  17. BIN proj.ios_mac/SDK/ShareSDK/Support/Optional/ShareSDKUI.framework/ShareSDKUI
  18. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/AliPayConnector.framework/AliPayConnector
  19. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/AliPayConnector.framework/Info.plist
  20. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/CopyConnector.framework/CopyConnector
  21. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/CopyConnector.framework/Info.plist
  22. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/DingTalkConnector.framework/DingTalkConnector
  23. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/DingTalkConnector.framework/Info.plist
  24. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/DropboxConnector.framework/DropboxConnector
  25. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/DropboxConnector.framework/Info.plist
  26. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/EvernoteConnector.framework/EvernoteConnector
  27. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/EvernoteConnector.framework/Info.plist
  28. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/FacebookConnector.framework/FacebookConnector
  29. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/FacebookConnector.framework/Info.plist
  30. BIN ....ios_mac/SDK/ShareSDK/Support/PlatformConnector/GooglePlusConnector.framework/GooglePlusConnector
  31. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/GooglePlusConnector.framework/Info.plist
  32. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/InstagramConnector.framework/Info.plist
  33. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/InstagramConnector.framework/InstagramConnector
  34. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/InstapaperConnector.framework/Info.plist
  35. BIN ....ios_mac/SDK/ShareSDK/Support/PlatformConnector/InstapaperConnector.framework/InstapaperConnector
  36. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/KakaoConnector.framework/Info.plist
  37. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/KakaoConnector.framework/KakaoConnector
  38. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/LineConnector.framework/Info.plist
  39. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/LineConnector.framework/LineConnector
  40. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/MailConnector.framework/Info.plist
  41. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/MailConnector.framework/MailConnector
  42. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/MeiPaiConnector.framework/Info.plist
  43. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/MeiPaiConnector.framework/MeiPaiConnector
  44. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/PrintConnector.framework/Info.plist
  45. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/PrintConnector.framework/PrintConnector
  46. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/QQConnector.framework/Info.plist
  47. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/QQConnector.framework/QQConnector
  48. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/RenrenConnector.framework/Info.plist
  49. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/RenrenConnector.framework/RenrenConnector
  50. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/SMSConnector.framework/Info.plist
  51. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/SMSConnector.framework/SMSConnector
  52. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/SinaWeiboConnector.framework/Info.plist
  53. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/SinaWeiboConnector.framework/SinaWeiboConnector
  54. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/TwitterConnector.framework/Info.plist
  55. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/TwitterConnector.framework/TwitterConnector
  56. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/WechatConnector.framework/Info.plist
  57. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/WechatConnector.framework/WechatConnector
  58. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/WhatsAppConnector.framework/Info.plist
  59. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/WhatsAppConnector.framework/WhatsAppConnector
  60. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/YiXinConnector.framework/Info.plist
  61. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/YiXinConnector.framework/YiXinConnector
  62. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/YouTubeConnector.framework/Info.plist
  63. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformConnector/YouTubeConnector.framework/YouTubeConnector
  64. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/PlatformSDK/APSocialSDK/APOpenAPI.h
  65. +4 −4 .../SDK/ShareSDK/Support/PlatformSDK/DingTalkSDK/DTShareKit.framework/Versions/A/Headers/DTOpenAPI.h
  66. +1 −1 ..._mac/SDK/ShareSDK/Support/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOChat.h
  67. +6 −6 ...K/ShareSDK/Support/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOChatContext.h
  68. +1 −1 ...c/SDK/ShareSDK/Support/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOSession.h
  69. +2 −2 ...DK/Support/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOSessionTask+PushAPI.h
  70. +6 −6 ...K/Support/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOSessionTask+StoryAPI.h
  71. +9 −9 ...DK/Support/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOSessionTask+TalkAPI.h
  72. +3 −3 .../PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOSessionTask+UserManagementAPI.h
  73. +3 −3 ...K/ShareSDK/Support/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KOSessionTask.h
  74. +4 −4 ...t/PlatformSDK/KaKaoSDK/KakaoOpenSDK.framework/Versions/A/Headers/KakaoPushMessagePropertyForGcm.h
  75. +1 −1 .../SDK/ShareSDK/Support/PlatformSDK/MPShareSDK/MPShareSDK.framework/Versions/A/Headers/MPShareSDK.h
  76. +2 −2 ...mac/SDK/ShareSDK/Support/PlatformSDK/QQSDK/TencentOpenAPI.framework/Headers/TencentApiInterface.h
  77. +0 −2 proj.ios_mac/SDK/ShareSDK/Support/PlatformSDK/SinaWeiboSDK/WeiboSDK.h
  78. +2 −0 proj.ios_mac/SDK/ShareSDK/Support/PlatformSDK/WeChatSDK/README.txt
  79. +2 −0 proj.ios_mac/SDK/ShareSDK/Support/PlatformSDK/WeChatSDK/WXApiObject.h
  80. BIN proj.ios_mac/SDK/ShareSDK/Support/PlatformSDK/WeChatSDK/libWeChatSDK.a
  81. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/NativeExt.js
  82. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/ShareSDK.js
  83. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/AliPaySocial.js
  84. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Copy.js
  85. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/DingTalk.js
  86. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/DouBan.js
  87. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Dropbox.js
  88. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Evernote.js
  89. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Facebook.js
  90. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/FacebookMessenger.js
  91. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Flickr.js
  92. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/GooglePlus.js
  93. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Instagram.js
  94. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Instapaper.js
  95. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/KaKao.js
  96. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/KaiXin.js
  97. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Line.js
  98. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/LinkedIn.js
  99. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Mail.js
  100. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/MeiPai.js
  101. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/MingDao.js
  102. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Pinterest.js
  103. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Pocket.js
  104. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Print.js
  105. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/QQ.js
  106. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/RenRen.js
  107. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/SMS.js
  108. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/SinaWeibo.js
  109. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/TencentWeibo.js
  110. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Tumblr.js
  111. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/Twitter.js
  112. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/VKontakte.js
  113. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/WeChat.js
  114. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/WhatsApp.js
  115. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/YiXin.js
  116. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/YouDaoNote.js
  117. +1 −1 proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/YouTube.js
  118. BIN proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDKConnector.framework/Info.plist
  119. BIN proj.ios_mac/SDK/ShareSDK/Support/Required/ShareSDKConnector.framework/ShareSDKConnector
  120. BIN ...ocos2DX.xcodeproj/project.xcworkspace/xcuserdata/youzu.xcuserdatad/UserInterfaceState.xcuserstate
@@ -619,15 +619,28 @@ id convertPublishContent(C2DXDictionary *content)
}
}
C2DXString *advancedShare = dynamic_cast<C2DXString *>(content -> objectForKey("advanced_share"));
if (advancedShare)
//v4.0.1 弃用
// C2DXString *advancedShare = dynamic_cast<C2DXString *>(content -> objectForKey("advanced_share"));
// if (advancedShare)
// {
// BOOL tempAdvancedShare = advancedShare -> boolValue();
// if(tempAdvancedShare)
// {
// [shareContentPara SSDKEnableAdvancedInterfaceShare];
// }
// }
//v4.0.1 使用微博api进行分享
C2DXString *apiShare = dynamic_cast<C2DXString *>(content -> objectForKey("api_share"));
if (apiShare)
{
BOOL tempAdvancedShare = advancedShare -> boolValue();
BOOL tempAdvancedShare = apiShare -> boolValue();
if(tempAdvancedShare)
{
[shareContentPara SSDKEnableAdvancedInterfaceShare];
[shareContentPara SSDKEnableSinaWeiboAPIShare];
}
}
[shareContentPara SSDKSetupShareParamsByText:text
images:image
url:[NSURL URLWithString:url]
@@ -568,8 +568,12 @@ void HelloWorld::showShareViewClickHandler(cocos2d::Ref *pSender)
content -> setObject(__String::createWithFormat("%d", cn::sharesdk::C2DXContentTypeImage), "type");
//iOS 启用客户端分享接口
content -> setObject(__String::createWithFormat("%d", true), "client_share");
//iOS 启用微博高级分享接口 3.6.3以后版本支持
content -> setObject(__String::createWithFormat("%d", true), "advanced_share");
// //iOS 启用微博高级分享接口 3.6.3以后版本支持 v4.0.1弃用
// content -> setObject(__String::createWithFormat("%d", true), "advanced_share");
//iOS 启用微博API接口进行分享
content -> setObject(__String::createWithFormat("%d", true), "api_share");
C2DXShareSDK::showShareView(cn::sharesdk::C2DXPlatTypeSinaWeibo, content, shareContentResultHandler);
Binary file not shown.
@@ -3,6 +3,6 @@ MOBFoundation.framework
=========================================
1、引用此库需要添加下面依赖库:
libz.dylib
libicucore.dylib
libz.tdb
libstdc++.tdb
@@ -33,8 +33,18 @@
可设置新浪微博使用高级接口进行分享(即应用内使用 statuses/update 和 statuses/upload_url_text这两个高级接口进行分享)
statuses/update 原为普通接口 2017年6月30日后修改为高级接口 应用内普通分享接口改变为 statuses/share
statuses/share 规则 http://open.weibo.com/wiki/2/statuses/share
注:
v4.0.1 废弃此接口 由于使用接口需要设置安全域 并且 无法分享话题所以都统一使用微博SDK进行分享
如果仍需要使用api接口进行分享请调用 SSDKEnableSinaWeiboAPIShare 接口
*/
- (void)SSDKEnableAdvancedInterfaceShare __deprecated_msg("discard form v4.0.1");
/**
新浪微博应用内分享 指定使用api进行分享 v4.0.1
*/
- (void)SSDKEnableAdvancedInterfaceShare;
- (void)SSDKEnableSinaWeiboAPIShare;
/**
* 设置分享参数
@@ -61,7 +71,8 @@
* @param latitude 纬度
* @param longitude 经度
* @param objectID 对象ID,标识系统内内容唯一性,应传入系统中分享内容的唯一标识,没有时可以传入nil
* @param type 分享类型,仅支持Text、Image、WebPage(客户端分享时)类型
* @param type 分享类型,仅支持Text、Image、WebPage 类型
设置 SSDKEnableSinaWeiboAPIShare 使用API进行分享 但text中需要附 安全域 安全域在新浪微博开放平台设置
*/
- (void)SSDKSetupSinaWeiboShareParamsByText:(NSString *)text
title:(NSString *)title
@@ -672,7 +683,8 @@
* 设置KaKao分享参数
*
* @param text 分享文本
* @param images 分享图片列表,传入参数可以为单张图片信息,也可以为一个NSArray,数组元素可以为UIImage、NSString(图片路径)、NSURL(图片路径)、SSDKImage,如: @"http://www.mob.com/images/logo_black.png" 或 @[@"http://www.mob.com/images/logo_black.png"]
* @param images 分享图片列表,传入参数可以为单张图片信息,也可以为一个NSArray,数组元素可以为UIImage、NSString(图片路径)、NSURL(图片路径)、SSDKImage,如: @"http://www.mob.com/images/logo_black.png" 或 @[@"http://www.mob.com/images/logo_black.png"]
注:SSDKPlatformSubTypeKakaoTalk 只支持网络图片
* @param title 分享链接标题,用于SSDKPlatformSubTypeKaKaoTalk分享
* @param url 分享链接
* @param permission 查看权限:F 表示好友可以查看,A 表示任何人可以查看,M 表示私有,默认为A
Binary file not shown.
Binary file not shown.
@@ -62,5 +62,4 @@
* @param cancelHandler 取消事件处理器
*/
- (void)onCancel:(SSUIShareActionSheetCancelHandler)cancelHandler;
@end
@@ -98,4 +98,5 @@ typedef void (^SSUIShareStateChangedHandler) (SSDKResponseState state,
*/
+ (void)setSupportedInterfaceOrientation:(UIInterfaceOrientationMask)toInterfaceOrientation;
+ (void)setWeiboURL:(NSString *)weiboURL;
@end
@@ -35,4 +35,7 @@
image:(SSDKImage *)image
platformTypes:(NSArray *)platformTypes;
+ (ShareSDKUI *)shareInstance;
@property (nonatomic,strong)NSString *weiboURL;
@end
@@ -31,7 +31,7 @@
/*! @brief 发送一个sendReq后,收到支付宝的回应
*
* 收到一个来自支付宝的处理结果。调用一次sendReq后会收到onResp。
* @param resp具体的回应内容
* @param resp 具体的回应内容
*/
-(void) onResp:(APBaseResp*)resp;
@@ -46,7 +46,7 @@
第三方应用程序需要在程序启动时调用. @note 请在主线程中调用此方法.
@param appid 在钉钉开放平台申请的应用ID.
@param appId 在钉钉开放平台申请的应用ID.
@return YES 注册成功. NO 注册失败.
*/
@@ -57,7 +57,7 @@
第三方应用程序需要在程序启动时调用. @note 请在主线程中调用此方法.
@param appid 在钉钉开放平台申请的应用ID.
@param appId 在钉钉开放平台申请的应用ID.
@param appDescription 第三方描述信息, 长度不超过1K.
@retrun YES 注册成功. NO 注册失败.
@@ -70,7 +70,7 @@
第三方应用需要在 -[UIApplicationDelegate application:openURL:sourceApplication:annotation:] 或者 -[UIApplicationDelegate application:openURL:options:] 中调用该方法.
@param url 钉钉给第三方回调的URL.
@param URL 钉钉给第三方回调的URL.
@param delegate 实现DTOpenAPIDelegate的对象, 通过DTOpenAPIDelegate处理钉钉的回调结果.
@return YES 回调处理成功. NO 回调处理失败.
@@ -127,7 +127,7 @@
/**
第三方APP需在 -[DTOpenAPIDelegate onResp:] 处理完收到钉钉的请求后, 使用改方法将处理结果返回给钉钉, 界面会切换到钉钉客户端.
@param req 封装响应的对象. 支持的类型:DTSendMessageToDingTalkResp.
@param resp 封装响应的对象. 支持的类型:DTSendMessageToDingTalkResp.
@return YES 响应发送成功. NO 响应发送失败.
*/
@@ -53,7 +53,7 @@
/*!
@property memberImageURLs
@abstract 카카오톡 채팅방 멤버들의 썸네일 이미지 URL List. (최대 5개 까지)
@deprecated in the near future.
deprecated in the near future.
*/
@property (nonatomic, readonly) NSArray *memberImageURLs;
@@ -25,15 +25,15 @@
/*!
@abstract KOChatType 카카오톡 채팅방 타입.
@constant KOChatTypeGroup 카카오톡 그룹방.
@deprecated in the near future.
deprecated in the near future.
*/
typedef NS_ENUM(NSInteger, KOChatType) {
KOChatTypeGroup = 0
};
/*!
@abstract KOChatType 을 문자열로 변환하는 함수
@deprecated in the near future.
deprecated in the near future.
*/
extern NSString* convertChatTypeString(KOChatType type);
@@ -64,7 +64,7 @@ NSString* convertChatFilterString(KOChatFilters filters);
/*!
@property chatType
@abstract 카카오톡 채팅방 타입.
@deprecated in the near future.
deprecated in the near future.
*/
@property (nonatomic, readonly) KOChatType chatType;
@@ -91,7 +91,7 @@ NSString* convertChatFilterString(KOChatFilters filters);
@param chatType 카카오톡 채팅방 타입.
@param limit 요청 시 제한하는 채팅방의 수. (채팅방은 30개 까지만 가져올 수 있습니다.)
@param ordering 정렬 방법.
@deprecated in the near future.
deprecated in the near future.
*/
- (instancetype)initWithChatType:(KOChatType)chatType
limit:(NSInteger)limit
@@ -100,7 +100,7 @@ NSString* convertChatFilterString(KOChatFilters filters);
/*!
채팅방 페이징 Context 를 생성한다.
@param chatType 카카오톡 채팅방 타입.
@deprecated in the near future.
deprecated in the near future.
*/
+ (instancetype)contextWithChatType:(KOChatType)chatType;
@@ -109,7 +109,7 @@ NSString* convertChatFilterString(KOChatFilters filters);
@param chatType 카카오톡 채팅방 타입.
@param limit 요청 시 제한하는 채팅방의 수. (채팅방은 30개 까지만 가져올 수 있습니다.)
@param ordering 정렬 방법.
@deprecated in the near future.
deprecated in the near future.
*/
+ (instancetype)contextWithChatType:(KOChatType)chatType
limit:(NSInteger)limit
@@ -181,7 +181,7 @@ typedef NS_ENUM(NSInteger, KOAgeAuthProperty) {
/*!
url에 포함된 code 정보로 oauth 인증 토큰을 요청한다. 인증 토큰 요청이 완료되면 completionHandler를 실행한다.
@param url 인증 요청 code 또는 오류 정보(error, error_description)를 담은 url
@param completionHandler 요청 완료시 실행될 block. 오류 처리와 인증 완료 작업을 수행한다.
completionHandler 요청 완료시 실행될 block. 오류 처리와 인증 완료 작업을 수행한다.
*/
+ (BOOL)handleOpenURL:(NSURL *)url;
@@ -66,8 +66,8 @@
/*!
@abstract 현재 로그인된 사용자의 모든 Push 토큰들에 대한 정보를 얻을 수 있습니다. 해당 API는 AdminKey가 아닌 AccessToken을 기반으로 요청합니다.
@param completionHandler Push 토큰의 정보를 얻어 처리하는 핸들러
@discussion
@discussion xxx
*/
+ (instancetype)pushGetTokensTaskWithCompletionHandler:(void (^)(NSArray *tokens, NSError *error))completionHandler;
@end
@end
@@ -52,38 +52,38 @@ typedef NS_ENUM(NSInteger, KOStoryPostPermission) {
/*!
@abstract 현재 로그인된 사용자의 카카오스토리 프로필 정보를 얻을 수 있습니다.
@param completionHandler 스토리 프로필 정보를 얻어 처리하는 핸들러
@discussion
@discussion xxx
*/
+ (instancetype)storyProfileTaskWithCompletionHandler:(KOSessionTaskCompletionHandler)completionHandler;
/*!
@abstract 현재 로그인된 사용자의 카카오스토리 프로필 정보를 얻을 수 있습니다.
@param secureResource 프로필, 썸네일 이미지 등의 리소스 정보들에 대해 https를 지원하는 형식으로 응답을 받을지의 여부. YES일 경우 https지원, NO일 경우 http지원.
@param completionHandler 스토리 프로필 정보를 얻어 처리하는 핸들러
@discussion
@discussion xxx
*/
+ (instancetype)storyProfileTaskWithSecureResource:(BOOL)secureResource
completionHandler:(KOSessionTaskCompletionHandler)completionHandler;
/*!
@abstract 로컬 이미지 파일을 카카오스토리에 업로드합니다.
@deprecated Replaced by storyMultiImageUploadTaskWithImages in v1.0.7
deprecated Replaced by storyMultiImageUploadTaskWithImages in v1.0.7
@param image (UIImage *) 형식의 한장의 이미지
*/
+ (instancetype)storyImageUploadTaskWithImage:(UIImage *)image
completionHandler:(KOSessionTaskCompletionHandler)completionHandler;
/*!
@abstract 로컬 이미지 파일을 데이타 형식으로 카카오스토리에 업로드합니다.
@deprecated Replaced by storyMultiImageUploadTaskWithImageData in v1.0.7
deprecated Replaced by storyMultiImageUploadTaskWithImageData in v1.0.7
@param imageData (NSData *) 형식의 한장의 이미지
*/
+ (instancetype)storyImageUploadTaskWithImageData:(NSData *)imageData
completionHandler:(KOSessionTaskCompletionHandler)completionHandler;
/*!
@abstract 카카오 스토리에 포스팅합니다.
@deprecated Replaced by storyPostNoteTaskWithContent or storyPostPhotoTaskWithImageUrls in v1.0.7
deprecated Replaced by storyPostNoteTaskWithContent or storyPostPhotoTaskWithImageUrls in v1.0.7
@param content 내용
@param imageUrl 이미지 url(storyImageUploadTaskWithImage 호출 후 반환되는 url을 설정)
@param androidExecParam 안드로이드 앱연결 링크에 추가할 파라미터 설정
@@ -99,7 +99,7 @@ typedef NS_ENUM(NSInteger, KOStoryPostPermission) {
/*!
@abstract 카카오 스토리에 포스팅합니다.
@deprecated Replaced by storyPostNoteTaskWithContent or storyPostPhotoTaskWithImageUrls in v1.0.7
deprecated Replaced by storyPostNoteTaskWithContent or storyPostPhotoTaskWithImageUrls in v1.0.7
@param content 내용
@param imageUrl 이미지 url(storyImageUploadTaskWithImage 호출 후 반환되는 url을 설정)
@param androidExecParamString 안드로이드 앱연결 링크에 추가할 파라미터 설정
@@ -51,15 +51,15 @@ typedef NS_ENUM(NSInteger, KOTalkMessageReceiverType) {
/*!
@abstract 현재 로그인된 사용자의 카카오톡 프로필 정보를 얻을 수 있습니다.
@param completionHandler 카카오톡 프로필 정보를 얻어 처리하는 핸들러
@discussion
@discussion xxx
*/
+ (instancetype)talkProfileTaskWithCompletionHandler:(KOSessionTaskCompletionHandler)completionHandler;
/*!
@abstract 현재 로그인된 사용자의 카카오톡 프로필 정보를 얻을 수 있습니다.
@param secureResource 프로필, 썸네일 이미지 등의 리소스 정보들에 대해 https를 지원하는 형식으로 응답을 받을지의 여부. YES일 경우 https지원, NO일 경우 http지원.
@param completionHandler 카카오톡 프로필 정보를 얻어 처리하는 핸들러
@discussion
@discussion xxx
*/
+ (instancetype)talkProfileTaskWithSecureResource:(BOOL)secureResource
completionHandler:(KOSessionTaskCompletionHandler)completionHandler;
@@ -70,7 +70,7 @@ typedef NS_ENUM(NSInteger, KOTalkMessageReceiverType) {
@param user 이 메시지를 수신할 User.
@param messageArguments 템플릿 메시지를 만들 때, 채워줘야할 파라미터들.
@param completionHandler 요청 완료시 실행될 block. 오류 처리와 전송 완료 시 수행된다.
@discussion
@discussion xxx
*/
+ (instancetype)talkSendMessageTaskWithTemplateID:(NSString *)templateID
receiverUser:(KOUserInfo *)user
@@ -79,12 +79,12 @@ typedef NS_ENUM(NSInteger, KOTalkMessageReceiverType) {
/*!
@abstract 미리 지정된 Template Message를 사용하여, 카카오톡으로 메시지를 전송합니다. 제휴를 통해 권한이 부여된 특정 앱에서만 호출 가능합니다.
@deprecated Use talkSendMessageTaskWithTemplateID:receiverUser:messageArguments:completionHandler in v1.0.46
deprecated Use talkSendMessageTaskWithTemplateID:receiverUser:messageArguments:completionHandler in v1.0.46
@param templateID 미리 지정된 템플릿 메시지 ID.
@param receiverFriend 이 메시지를 수신할 친구.
@param messageArguments 템플릿 메시지를 만들 때, 채워줘야할 파라미터들.
@param completionHandler 요청 완료시 실행될 block. 오류 처리와 전송 완료 시 수행된다.
@discussion
@discussion xxx
*/
+ (instancetype)talkSendMessageTaskWithTemplateID:(NSString *)templateID
receiverFriend:(KOFriend *)receiverFriend
@@ -97,7 +97,7 @@ typedef NS_ENUM(NSInteger, KOTalkMessageReceiverType) {
@param receiverChat 이 메시지를 수신할 채팅방.
@param messageArguments 템플릿 메시지를 만들 때, 채워줘야할 파라미터들.
@param completionHandler 요청 완료시 실행될 block. 오류 처리와 전송 완료 시 수행된다.
@discussion
@discussion xxx
*/
+ (instancetype)talkSendMessageTaskWithTemplateID:(NSString *)templateID
receiverChat:(KOChat *)receiverChat
@@ -106,9 +106,9 @@ typedef NS_ENUM(NSInteger, KOTalkMessageReceiverType) {
/*!
@abstract 카카오톡 채팅방 목록을 가져옵니다. 제휴를 통해 권한이 부여된 특정 앱에서만 호출 가능합니다.
@param KOChatContext 채팅방 목록을 불러올 때, 페이징 정보를 처리하기 위한 context.
@param context 채팅방 목록을 불러올 때, 페이징 정보를 처리하기 위한 KOChatContext.
@param completionHandler 카카오톡 채팅방 목록을 가져와서 처리하는 핸들러.
@discussion
@discussion xxx
*/
+ (instancetype)talkChatListTaskWithContext:(KOChatContext *)context
completionHandler:(void (^)(NSArray *chats, NSError *error))completionHandler;
@@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, KOTalkMessageReceiverType) {
@param templateID 개발자 사이트를 통해 생성한 메시지 템플릿 id
@param messageArguments 메시지 템플릿에 정의한 키/밸류의 파라미터들. 템플릿에 정의된 모든 파라미터가 포함되어야 합니다.
@param completionHandler 요청 완료시 실행될 block. 오류 처리와 전송 완료 시 수행된다.
@discussion
@discussion xxx
*/
+ (instancetype)talkSendMemoTaskWithTemplateID:(NSString *)templateID
messageArguments:(NSDictionary *)messageArguments
@@ -33,15 +33,15 @@
/*!
@abstract 현재 로그인된 사용자에 대한 정보를 얻을 수 있습니다.
@param completionHandler 사용자 정보를 얻어 처리하는 핸들러
@discussion
@discussion xxx
*/
+ (instancetype)meTaskWithCompletionHandler:(KOSessionTaskCompletionHandler)completionHandler;
/*!
@abstract 현재 로그인된 사용자에 대한 정보를 얻을 수 있습니다.
@param secureResource 프로필, 썸네일 이미지 등의 리소스 정보들에 대해 https를 지원하는 형식으로 응답을 받을지의 여부. YES일 경우 https지원, NO일 경우 http지원.
@param completionHandler 사용자 정보를 얻어 처리하는 핸들러
@discussion
@discussion xxx
*/
+ (instancetype)meTaskWithSecureResource:(BOOL)secureResource
completionHandler:(KOSessionTaskCompletionHandler)completionHandler;
@@ -68,4 +68,4 @@
*/
+ (instancetype)unlinkTaskWithCompletionHandler:(void (^)(BOOL success, NSError *error))completionHandler;
@end
@end
Oops, something went wrong.

0 comments on commit 7f0c833

Please sign in to comment.