From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSocialPlatformConfig.h | 438 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 438 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSocialPlatformConfig.h b/screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSocialPlatformConfig.h new file mode 100755 index 0000000..a0086fe --- /dev/null +++ b/screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSocialPlatformConfig.h @@ -0,0 +1,438 @@ +// +// UMSocialPlatformConfig.h +// UMSocialSDK +// +// Created by ��������� on 16/8/5. +// Copyright �� 2016��� dongjianxiong. All rights reserved. +// + +#import <Foundation/Foundation.h> +#import <UIKit/UIKit.h> + + +/** + ������������ + */ +extern NSString *const UMSPlatformNameSina; + +/** + ������������ + */ +extern NSString *const UMSPlatformNameTencentWb; + +/** + ������ + */ +extern NSString *const UMSPlatformNameDingDing; + +/** + ��������� + */ +extern NSString *const UMSPlatformNameRenren; + +/** + ������ + */ +extern NSString *const UMSPlatformNameDouban; + +/** + QQ������ + */ +extern NSString *const UMSPlatformNameQzone; + +/** + ������ + */ +extern NSString *const UMSPlatformNameEmail; + +/** + ������ + */ +extern NSString *const UMSPlatformNameSms; + +/** + ������������ + */ +extern NSString *const UMSPlatformNameWechatSession; + +/** + ��������������� + */ +extern NSString *const UMSPlatformNameWechatTimeline; + +/** + ������������ + */ +extern NSString *const UMSPlatformNameWechatFavorite; + +/** + ��������������� + */ +extern NSString *const UMSPlatformNameAlipaySession; + +/** + ������QQ + */ +extern NSString *const UMSPlatformNameQQ; + +/** + Tencent Tim + */ +extern NSString *const UMSPlatformNameTim; + +/** + Facebook + */ +extern NSString *const UMSPlatformNameFacebook; + +/** + Twitter + */ +extern NSString *const UMSPlatformNameTwitter; + + +/** + ������������ + */ +extern NSString *const UMSPlatformNameYXSession; + +/** + ��������������� + */ +extern NSString *const UMSPlatformNameYXTimeline; + +/** + ������������ + */ +extern NSString *const UMSPlatformNameLWSession; + +/** + ��������������� + */ +extern NSString *const UMSPlatformNameLWTimeline; + +/** + ���������Instragram + */ +extern NSString *const UMSPlatformNameInstagram; + +/** + ���������Whatsapp + */ +extern NSString *const UMSPlatformNameWhatsapp; + +/** + ���������Line + */ +extern NSString *const UMSPlatformNameLine; + +/** + ���������Tumblr + */ +extern NSString *const UMSPlatformNameTumblr; + +/** + ������ + */ +extern NSString *const UMSPlatformNameLinkedin; + +/** + ���������Pinterest + */ +extern NSString *const UMSPlatformNamePinterest; + +/** + ���������KakaoTalk + */ +extern NSString *const UMSPlatformNameKakaoTalk; + +/** + ���������Flickr + */ +extern NSString *const UMSPlatformNameFlickr; + + +/** + * ��������������� + */ +extern NSString *const UMSPlatformNameYouDaoNote; + +/** + * ������������ + */ +extern NSString *const UMSPlatformNameEverNote; + +/** + * google+ + */ +extern NSString *const UMSPlatformNameGooglePlus; + +/** + * Pocket + */ +extern NSString *const UMSPlatformNamePocket; + +/** + * dropbox + */ +extern NSString *const UMSPlatformNameDropBox; + +/** + * vkontakte + */ +extern NSString *const UMSPlatformNameVKontakte; + +/** + * FaceBookMessenger + */ +extern NSString *const UMSPlatformNameFaceBookMessenger; + + +/** + * ������������������UserProfile������������������ + * + * @param result ��������������������� + * @param error ������������������������ + */ +typedef void (^UMSocialRequestCompletionHandler)(id result,NSError *error); + +/** + * ������������������UserProfile������������������ + * + * @param shareResponse ��������������������� + * @param error ������������������������ + */ +typedef void (^UMSocialShareCompletionHandler)(id shareResponse,NSError *error); + +/** + * ������������������UserProfile������������������ + * + * @param authResponse ��������������������� + * @param error ������������������������ + */ +typedef void (^UMSocialAuthCompletionHandler)(id authResponse,NSError *error); + +/** + * ������������������UserProfile������������������ + * + * @param userInfoResponse ��������������������� + * @param error ������������������������ + */ +typedef void (^UMSocialGetUserInfoCompletionHandler)(id userInfoResponse,NSError *error); + + +///////////////////////////////////////////////////////////////////////////// +//������������������������--start +///////////////////////////////////////////////////////////////////////////// +/** + * U-Share������������������ + */ +typedef NS_ENUM(NSInteger, UMSocialPlatformErrorType) { + UMSocialPlatformErrorType_Unknow = 2000, // ������������ + UMSocialPlatformErrorType_NotSupport = 2001, // ������������url scheme ������������������������������-ObjC��� ������SDK������������������������������������������������ + UMSocialPlatformErrorType_AuthorizeFailed = 2002, // ������������ + UMSocialPlatformErrorType_ShareFailed = 2003, // ������������ + UMSocialPlatformErrorType_RequestForUserProfileFailed = 2004, // ������������������������ + UMSocialPlatformErrorType_ShareDataNil = 2005, // ������������������ + UMSocialPlatformErrorType_ShareDataTypeIllegal = 2006, // ��������������������� + UMSocialPlatformErrorType_CheckUrlSchemaFail = 2007, // schemaurl fail + UMSocialPlatformErrorType_NotInstall = 2008, // ��������������� + UMSocialPlatformErrorType_Cancel = 2009, // ������������ + UMSocialPlatformErrorType_NotNetWork = 2010, // ������������ + UMSocialPlatformErrorType_SourceError = 2011, // ��������������� + + UMSocialPlatformErrorType_ProtocolNotOverride = 2013, // ��������� UMSocialPlatformProvider��������������������� + UMSocialPlatformErrorType_NotUsingHttps = 2014, // ���������https���������,@see UMSocialGlobal isUsingHttpsWhenShareContent + +}; + +/** The domain name used for the UMSocialPlatformErrorType */ +extern NSString* const UMSocialPlatformErrorDomain; + +///////////////////////////////////////////////////////////////////////////// +//������������������������--end +///////////////////////////////////////////////////////////////////////////// + + + +///////////////////////////////////////////////////////////////////////////// +//���������������--begin +///////////////////////////////////////////////////////////////////////////// + +/** + * ��������������������������� + */ +typedef NS_OPTIONS(NSUInteger, UMSocialPlatformFeature) +{ + UMSocialPlatformFeature_None = 0, + + //App + UMSocialPlatformFeature_IsAppInstalled = 1 << 0, + UMSocialPlatformFeature_IsCanOpenApp = 1 << 1, + UMSocialPlatformFeature_IsAppApiSupport = 1 << 2, + + //Authorize + UMSocialPlatformFeature_IsCanAuthorize = 1 << 10, + UMSocialPlatformFeature_IsCanWebViewAuthorize = 1 << 11, + + //SSOShare + UMSocialPlatformFeature_IsCanShare_Text = 1 << 22, + UMSocialPlatformFeature_IsCanShare_Image = 1 << 23, + UMSocialPlatformFeature_IsCanShare_Media = 1 << 24, + UMSocialPlatformFeature_IsCanShare_TextAndImage = 1 << 25, + UMSocialPlatformFeature_IsCanShare_TextAndMedia = 1 << 26, + + //mask + UMSocialPlatformFeature_Mask = 0xFFFFFFFF, +}; + + +///////////////////////////////////////////////////////////////////////////// +//���������������--end +///////////////////////////////////////////////////////////////////////////// + + +///////////////////////////////////////////////////////////////////////////// +//���������������--start +///////////////////////////////////////////////////////////////////////////// +typedef NS_ENUM(NSInteger,UMSocialPlatformType) +{ + UMSocialPlatformType_UnKnown = -2, + //������������������ + UMSocialPlatformType_Predefine_Begin = -1, + UMSocialPlatformType_Sina = 0, //������ + UMSocialPlatformType_WechatSession = 1, //������������ + UMSocialPlatformType_WechatTimeLine = 2,//��������������� + UMSocialPlatformType_WechatFavorite = 3,//������������ + UMSocialPlatformType_QQ = 4,//QQ������������ + UMSocialPlatformType_Qzone = 5,//qq������ + UMSocialPlatformType_TencentWb = 6,//������������ + UMSocialPlatformType_AlipaySession = 7,//��������������������� + UMSocialPlatformType_YixinSession = 8,//������������������ + UMSocialPlatformType_YixinTimeLine = 9,//��������������� + UMSocialPlatformType_YixinFavorite = 10,//������������ + UMSocialPlatformType_LaiWangSession = 11,//������������������������������������ + UMSocialPlatformType_LaiWangTimeLine = 12,//��������������� + UMSocialPlatformType_Sms = 13,//������ + UMSocialPlatformType_Email = 14,//������ + UMSocialPlatformType_Renren = 15,//������ + UMSocialPlatformType_Facebook = 16,//Facebook + UMSocialPlatformType_Twitter = 17,//Twitter + UMSocialPlatformType_Douban = 18,//������ + UMSocialPlatformType_KakaoTalk = 19,//KakaoTalk + UMSocialPlatformType_Pinterest = 20,//Pinteres + UMSocialPlatformType_Line = 21,//Line + + UMSocialPlatformType_Linkedin = 22,//������ + + UMSocialPlatformType_Flickr = 23,//Flickr + + UMSocialPlatformType_Tumblr = 24,//Tumblr + UMSocialPlatformType_Instagram = 25,//Instagram + UMSocialPlatformType_Whatsapp = 26,//Whatsapp + UMSocialPlatformType_DingDing = 27,//������ + + UMSocialPlatformType_YouDaoNote = 28,//��������������� + UMSocialPlatformType_EverNote = 29,//������������ + UMSocialPlatformType_GooglePlus = 30,//Google+ + UMSocialPlatformType_Pocket = 31,//Pocket + UMSocialPlatformType_DropBox = 32,//dropbox + UMSocialPlatformType_VKontakte = 33,//vkontakte + UMSocialPlatformType_FaceBookMessenger = 34,//FaceBookMessenger + UMSocialPlatformType_Tim = 35,// Tencent TIM + + UMSocialPlatformType_Predefine_end = 999, + + //������������������������ + UMSocialPlatformType_UserDefine_Begin = 1000, + UMSocialPlatformType_UserDefine_End = 2000, +}; + +///////////////////////////////////////////////////////////////////////////// +//���������������--end +///////////////////////////////////////////////////////////////////////////// + + + +//������������������������UMSocialSDKResources.bundle������������icon +#define UMSocialPlatformIconWithName(name) [NSString stringWithFormat:@"UMSocialSDKResources.bundle/SnsPlatform/%@",name] + +////������������������������UMSocialSDKResources.bundle/Buttons/������������ +#define UMSocialButtonImageWithName(name) [NSString stringWithFormat:@"UMSocialSDKResources.bundle/Buttons/%@",name] +// + +/** ��������� */ +#define UMLocalizedString(key,defaultValue) NSLocalizedStringWithDefaultValue(key,@"UMSocialLocalizable", [NSBundle mainBundle], defaultValue, nil) + +/** + * ��������������� + */ +@interface UMSocialPlatformConfig : NSObject + + +@property(nonatomic,strong)NSString* appKey; +@property(nonatomic,strong)NSString* appSecret; +@property(nonatomic,strong)NSString* redirectURL; + + +/** + * ������������������������������������ + * + * @param platformType ������������ + * @see UMSocialPlatformType + * + * @return ��������������������������� + */ ++ (NSString *)platformNameWithPlatformType:(UMSocialPlatformType)platformType; + +/** + * ������������������������������������������������ + * + * @param platformType ������������ + * + * @return ��������������������������� + */ ++ (id)platformHandlerWithPlatformType:(UMSocialPlatformType)platformType; + + +/** + * ������������������ + * + * @param errorType ������������ + * @param userInfo ������������������������userInfo + * + * @return ������������������ + */ ++ (NSError *)errorWithSocialErrorType:(UMSocialPlatformErrorType)errorType userInfo:(id)userInfo; + +@end + + +/** + * ������������/��������������������������� + * ������������/��������������������������������������������������������������������������������������������������������� + */ +@interface UMSocialCloudViewConfig : NSObject + + +/** + ������������ + */ +@property (nonatomic, strong) NSString *authViewTitle; +@property (nonatomic, strong) UIColor *authViewTitleColor; +@property( nonatomic, strong) UIColor *authViewNavBarColor; +// button������������title���image���������touch������������������ +@property (nonatomic, strong) UIButton *authViewCloseButton; + +@property (nonatomic, strong) NSString *editViewTitle; +@property (nonatomic, strong) UIColor *editViewTitleColor; +@property( nonatomic, strong) UIColor *editViewNavBarColor; +// button������������title���image���������touch������������������ +@property (nonatomic, strong) UIButton *editViewCloseButton; +@property (nonatomic, strong) UIButton *editViewShareButton; + + + ++ (instancetype)sharedInstance; + +@end -- Gitblit v1.8.0