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/SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h | 627 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 627 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/UMengUShare/UShareSDK/SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h b/screendisplay/Pods/UMengUShare/UShareSDK/SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h new file mode 100755 index 0000000..39923e6 --- /dev/null +++ b/screendisplay/Pods/UMengUShare/UShareSDK/SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h @@ -0,0 +1,627 @@ +/// +/// \file QQApiInterfaceObject.h +/// \brief QQApiInterface������������������������������������������������������ +/// +/// Created by Tencent on 12-5-15. +/// Copyright (c) 2012��� Tencent. All rights reserved. +/// + +#ifndef QQApiInterface_QQAPIOBJECT_h +#define QQApiInterface_QQAPIOBJECT_h + +#import <Foundation/Foundation.h> + + +typedef enum +{ + EQQAPISENDSUCESS = 0, + EQQAPIQQNOTINSTALLED = 1, + EQQAPIQQNOTSUPPORTAPI = 2, + EQQAPIMESSAGETYPEINVALID = 3, + EQQAPIMESSAGECONTENTNULL = 4, + EQQAPIMESSAGECONTENTINVALID = 5, + EQQAPIAPPNOTREGISTED = 6, + EQQAPIAPPSHAREASYNC = 7, + EQQAPIQQNOTSUPPORTAPI_WITH_ERRORSHOW = 8, + EQQAPISENDFAILD = -1, + EQQAPISHAREDESTUNKNOWN = -2, //������������������QQ���TIM + + EQQAPITIMNOTINSTALLED = 11, //TIM��������� + EQQAPITIMNOTSUPPORTAPI = 12, // TIM api��������� + //qzone���������������text������������ + EQQAPIQZONENOTSUPPORTTEXT = 10000, + //qzone���������������image������������ + EQQAPIQZONENOTSUPPORTIMAGE = 10001, + //������QQ������������������������������������������������������ + EQQAPIVERSIONNEEDUPDATE = 10002, + ETIMAPIVERSIONNEEDUPDATE = 10004, +} QQApiSendResultCode; + +#pragma mark - QQApiObject(������������������) + +// QQApiObject control flags +enum +{ + kQQAPICtrlFlagQZoneShareOnStart = 0x01, + kQQAPICtrlFlagQZoneShareForbid = 0x02, + kQQAPICtrlFlagQQShare = 0x04, + kQQAPICtrlFlagQQShareFavorites = 0x08, //������ + kQQAPICtrlFlagQQShareDataline = 0x10, //��������� +}; + +// ���������QQ���TIM +typedef enum ShareDestType { + ShareDestTypeQQ, + ShareDestTypeTIM, +}ShareDestType; + +// QQApiObject +/** \brief ���������QQ��������������������������������������������� + */ +__attribute__((visibility("default"))) @interface QQApiObject : NSObject +@property(nonatomic,retain) NSString* title; ///< ���������������128��������� +@property(nonatomic,retain) NSString* description; ///<���������������������512��������� + +@property (nonatomic, assign) uint64_t cflag; +@property (nonatomic, assign) ShareDestType shareDestType; //���������QQ���TIM��������������� +@end + +// QQApiResultObject +/** \brief ������������������������������������ + <h3>������������������������������:</h3> + <TABLE> + <TR><TD>error</TD><TD>errorDescription</TD><TD>������</TD></TR> + <TR><TD>0</TD><TD>nil</TD><TD>������</TD></TR> + <TR><TD>-1</TD><TD>param error</TD><TD>������������</TD></TR> + <TR><TD>-2</TD><TD>group code is invalid</TD><TD>������������������������������������</TD></TR> + <TR><TD>-3</TD><TD>upload photo failed</TD><TD>������������������</TD></TR> + <TR><TD>-4</TD><TD>user give up the current operation</TD><TD>������������������������</TD></TR> + <TR><TD>-5</TD><TD>client internal error</TD><TD>���������������������������</TD></TR> + </TABLE> + */ +__attribute__((visibility("default"))) @interface QQApiResultObject : QQApiObject +@property(nonatomic,retain) NSString* error; ///<������ +@property(nonatomic,retain) NSString* errorDescription; ///<������������ +@property(nonatomic,retain) NSString* extendInfo; ///<������������ +@end + +// QQApiTextObject +/** \brief ������������ + */ +@interface QQApiTextObject : QQApiObject +@property(nonatomic,retain)NSString* text; ///<������������������������������1536��������� + +-(id)initWithText:(NSString*)text; ///<��������������� ++(id)objectWithText:(NSString*)text;///<���������������������������QQApiTextObject������. +@end + +// QQApiURLObject +typedef enum QQApiURLTargetType{ + QQApiURLTargetTypeNotSpecified = 0x00, + QQApiURLTargetTypeAudio = 0x01, + QQApiURLTargetTypeVideo = 0x02, + QQApiURLTargetTypeNews = 0x03 +}QQApiURLTargetType; + +/** @brief URL��������������� + + ������URL���������URL������������������������������������������������ + */ +__attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject +/** + URL������������������������������. + @note ������QQApi.h ������ QQApiURLTargetType ������. + */ +@property(nonatomic)QQApiURLTargetType targetContentType; + +@property(nonatomic,retain)NSURL* url; ///<URL������,���������������512��������� +@property(nonatomic,retain)NSData* previewImageData;///<���������������������������1M������ +@property(nonatomic, retain) NSURL *previewImageURL; ///<������������URL **���������������������������������URL������������ + +/** + ��������������� + */ +-(id)initWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data targetContentType:(QQApiURLTargetType)targetContentType; +-(id)initWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL targetContentType:(QQApiURLTargetType)targetContentType; +/** + ������������,������������QQApiURLObject������ + */ ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data targetContentType:(QQApiURLTargetType)targetContentType; ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL targetContentType:(QQApiURLTargetType)targetContentType; +@end + +// QQApiExtendObject +/** @brief ������������������ + */ +@interface QQApiExtendObject : QQApiObject +@property(nonatomic,retain) NSData* data;///<������������������������������������5M������ +@property(nonatomic,retain) NSData* previewImageData;///<���������������������1M������ +@property(nonatomic,retain) NSArray* imageDataArray;///������������(���������������������������������QQ������������) + +/** + ��������������� + @param data ������������ + @param previewImageData ��������������������� + @param title ������ + @param description ��������������������������� + */ +- (id)initWithData:(NSData*)data previewImageData:(NSData*)previewImageData title:(NSString*)title description:(NSString*)description; + +/** + ��������������� + @param data ������������ + @param title ������ + @param description ��������������������������� + @param imageDataArray ��������������������������� + */ +- (id)initWithData:(NSData *)data previewImageData:(NSData*)previewImageData title:(NSString *)title description:(NSString *)description imageDataArray:(NSArray *)imageDataArray; + +/** + helper������������������autorelease���<code>QQApiExtendObject</code>������ + @param data ������������ + @param previewImageData ��������������������� + @param title ������ + @param description ��������������������������� + @return + ���������������������<code>QQApiExtendObject</code>������ + */ ++ (id)objectWithData:(NSData*)data previewImageData:(NSData*)previewImageData title:(NSString*)title description:(NSString*)description; + +/** + helper������������������autorelease���<code>QQApiExtendObject</code>������ + @param data ������������ + @param previewImageData ��������������������� + @param title ������ + @param description ��������������������������� + @param imageDataArray ��������������������������� + @return + ���������������������<code>QQApiExtendObject</code>������ + */ ++ (id)objectWithData:(NSData*)data previewImageData:(NSData*)previewImageData title:(NSString*)title description:(NSString*)description imageDataArray:(NSArray*)imageDataArray; + +@end + +// QQApiImageObject +/** @brief ������������ + ���������������������������������������������������������������������<code>QQApiExtendObject</code> + */ +@interface QQApiImageObject : QQApiExtendObject +@end + +// QQApiImageArrayForQZoneObject +/** @brief ������������ + ������������������������������������������������������������������������������������������������������������������������������������������<code>QQApiObject</code> + */ +@interface QQApiImageArrayForQZoneObject : QQApiObject + +@property(nonatomic,retain) NSArray* imageDataArray;///������������ + +/** + ��������������� + @param imageDataArray ������������ + @param title ��������������������������������� + */ +- (id)initWithImageArrayData:(NSArray*)imageDataArray title:(NSString*)title; + +/** + helper������������������autorelease���<code>QQApiExtendObject</code>������ + @param title ��������������������������������� + @param imageDataArray ��������������������������� + @return + ���������������������<code>QQApiExtendObject</code>������ + */ ++ (id)objectWithimageDataArray:(NSArray*)imageDataArray title:(NSString*)title; + +@end + +// QQApiVideoForQZoneObject +/** @brief ������������ + ������������������������������������������������<code>QQApiObject</code> + assetURL������ALAsset���ALAssetPropertyAssetURL���������PHAsset���localIdentifier + */ +@interface QQApiVideoForQZoneObject : QQApiObject + +@property(nonatomic, retain) NSString *assetURL; + +- (id)initWithAssetURL:(NSString*)assetURL title:(NSString*)title; + ++ (id)objectWithAssetURL:(NSString*)assetURL title:(NSString*)title; + +@end + +// QQApiWebImageObject +/** @brief ������������ + ���������������������������������������������������������������������url���: ���������������2.9.0���h5��������������������� + ������������q��������������������������������� + */ +@interface QQApiWebImageObject : QQApiObject + +@property(nonatomic, retain) NSURL *previewImageURL; ///<������������URL + +/** + ��������������� + @param previewImageURL ��������������������� + @param title ������ + @param description ��������������������������� + */ +- (id)initWithPreviewImageURL:(NSURL*)previewImageURL title:(NSString*)title description:(NSString*)description; + +/** + helper������������������autorelease���<code>QQApiWebImageObject</code>������ + @param previewImageURL ��������������������� + @param title ������ + @param description ��������������������������� + */ ++ (id)objectWithPreviewImageURL:(NSURL*)previewImageURL title:(NSString*)title description:(NSString*)description; + +@end + +// QQApiGroupTribeImageObject +/** @brief ��������������������� + ��������������������������������������������������������������������� ���������������������������������������<code>QQApiExtendObject</code> + */ +@interface QQApiGroupTribeImageObject : QQApiImageObject +{ + NSString *_bid; + NSString *_bname; +} +// ���������id +@property (nonatomic, retain)NSString* bid; + +// ��������������� +@property (nonatomic, retain)NSString* bname; + +@end + + +//QQApiFileObject +/** @brief ������������������(���������������������������QQ���������������) + ���������������������������������������������������������������������<code>QQApiExtendObject</code> + */ +@interface QQApiFileObject : QQApiExtendObject +{ + NSString* _fileName; +} +@property(nonatomic, retain)NSString* fileName; +@end + +// QQApiAudioObject +/** @brief ������URL������ + ������������������������������������URL��������� + */ +@interface QQApiAudioObject : QQApiURLObject + +@property (nonatomic, retain) NSURL *flashURL; ///<������URL���������������512��������� + +/** + ������������autorelease���<code>QQApiAudioObject</code> + @param url ���������������������URL + @param title ��������������������� + @param description ��������������������� + @param data ��������������������������� + @note ������url���������������<code>QQApi#sendMessage:</code>������������FALSE + */ ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data; + +/** + ������������autorelease���<code>QQApiAudioObject</code> + @param url ���������������������URL + @param title ��������������������� + @param description ��������������������� + @param previewURL ���������������������������URL + @note ������url���������������<code>QQApi#sendMessage:</code>������������FALSE + */ ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL; + +@end + +// QQApiVideoObject +/** @brief ������URL������ + ������������������������������������URL��������� + + QQApiVideoObject���������������������������Android���PC QQ���������������������������������������������������QQ������������������������ + ������������������������������������������ QQApiNewsObject ������ + */ +@interface QQApiVideoObject : QQApiURLObject + +@property (nonatomic, retain) NSURL *flashURL; ///<������URL���������������512��������� + +/** + ������������autorelease���<code>QQApiVideoObject</code> + @param url ���������������������URL + @param title ��������������������� + @param description ��������������������� + @param data ��������������������������� + @note ������url���������������<code>QQApi#sendMessage:</code>������������FALSE + */ ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data; + +/** + ������������autorelease���<code>QQApiVideoObject</code> + @param url ���������������������URL + @param title ��������������������� + @param description ��������������������� + @param previewURL ���������������������������URL + @note ������url���������������<code>QQApi#sendMessage:</code>������������FALSE + */ ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL; + +@end + +// QQApiNewsObject +/** @brief ������URL������ + ������������������������������������URL��������� + */ +@interface QQApiNewsObject : QQApiURLObject +/** + ������������autorelease���<code>QQApiNewsObject</code> + @param url ���������������������URL + @param title ��������������������� + @param description ��������������������� + @param data ��������������������������� + @note ������url���������������<code>QQApi#sendMessage:</code>������������FALSE + */ ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data; + +/** + ������������autorelease���<code>QQApiNewsObject</code> + @param url ���������������������URL + @param title ��������������������� + @param description ��������������������� + @param previewURL ���������������������������URL + @note ������url���������������<code>QQApi#sendMessage:</code>������������FALSE + */ ++(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL; + +@end + +// QQApiPayObject +/** \brief ������������ + */ +@interface QQApiPayObject : QQApiObject +@property(nonatomic,retain)NSString* OrderNo; ///<������������������������ +@property(nonatomic,retain)NSString* AppInfo; ///<��������������������������� + +-(id)initWithOrderNo:(NSString*)OrderNo AppInfo:(NSString*)AppInfo; ///<��������������� ++(id)objectWithOrderNo:(NSString*)OrderNo AppInfo:(NSString*)AppInfo;///<���������������������������QQApiPayObject������. +@end + +// QQApiCommonContentObject; +/** @brief ������������������������ + ��������������������������������������������������������� + @note ��������������������������������������������� + */ +@interface QQApiCommonContentObject : QQApiObject +/** + ������������������������������ + */ +@property(nonatomic,assign) unsigned int layoutType; +@property(nonatomic,assign) NSData* previewImageData;///<��������� +@property(nonatomic,retain) NSArray* textArray;///<������������ +@property(nonatomic,retain) NSArray* pictureDataArray;///<������������ ++(id)objectWithLayoutType:(int)layoutType textArray:(NSArray*)textArray pictureArray:(NSArray*)pictureArray previewImageData:(NSData*)data; +/** + ���������NSDictionary���������������QQApiCommomContentObject������������������������������������ + */ ++(id)objectWithDictionary:(NSDictionary*)dic; +-(NSDictionary*)toDictionary; +@end + +//////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Ad item object definition +//////////////////////////////////////////////////////////////////////////////////////////////////////////// +/** @brief ������������������ + */ +@interface QQApiAdItem : NSObject +@property(nonatomic,retain) NSString* title; ///<������ +@property(nonatomic,retain) NSString* description;///<������ +@property(nonatomic,retain) NSData* imageData;///<������������ +@property(nonatomic,retain) NSURL* target;///<������������������ +@end + +// QQApiWPAObject +/** \brief ������WPA������ + */ +@interface QQApiWPAObject : QQApiObject +@property(nonatomic,retain)NSString* uin; ///<���������������QQ��� + +-(id)initWithUin:(NSString*)uin; ///<��������������� ++(id)objectWithUin:(NSString*)uin;///<���������������������������QQApiWPAObject������. +@end + +// QQApiAddFriendObject +/** \brief ������������ + */ +@interface QQApiAddFriendObject : QQApiObject +@property (nonatomic,retain)NSString* openID; +@property (nonatomic,retain)NSString* subID; +@property (nonatomic,retain)NSString* remark; + +-(id)initWithOpenID:(NSString*)openID; ///<��������������� ++(id)objecWithOpenID:(NSString*)openID; ///<���������������������������QQApiAddFriendObject������. + +@end + +// QQApiGameConsortiumBindingGroupObject +/** \brief ��������������������� + */ +@interface QQApiGameConsortiumBindingGroupObject : QQApiObject +@property (nonatomic,retain)NSString* signature; +@property (nonatomic,retain)NSString* unionid; +@property (nonatomic,retain)NSString* zoneID; +@property (nonatomic,retain)NSString* appDisplayName; + +-(id)initWithGameConsortium:(NSString*)signature unionid:(NSString*)unionid zoneID:(NSString*)zoneID appDisplayName:(NSString*)appDisplayName; ///<��������������� ++(id)objectWithGameConsortium:(NSString*)signature unionid:(NSString*)unionid zoneID:(NSString*)zoneID appDisplayName:(NSString*)appDisplayName; ///<���������������������������QQApiAddFriendObject������. + +@end + +// QQApiGameConsortiumBindingGroupObject +/** \brief ��������� + */ +@interface QQApiJoinGroupObject : QQApiObject +@property (nonatomic,retain)NSString* groupUin; +@property (nonatomic,retain)NSString* groupKey; + +- (id)initWithGroupInfo:(NSString*)groupUin key:(NSString*)groupKey; ///<��������������� ++ (id)objectWithGroupInfo:(NSString*)groupUin key:(NSString*)groupKey; ///<������������������������KEY ���������������������������QQApiAddFriendObject������. ++ (id)objectWithGroupKey:(NSString*)groupKey; ///<���������������KEY ���������������������������QQApiAddFriendObject������. + +@end + +// QQApiGroupChatObject +/** \brief ��������������������� + */ +@interface QQApiGroupChatObject : QQApiObject +@property(nonatomic,retain)NSString* groupID; ///<��������������������� + +-(id)initWithGroup:(NSString*)groupID; ///<��������������� ++(id)objectWithGroup:(NSString*)groupID;///<���������������������������QQApiGroupChatObject������. +@end + +#pragma mark - QQApi������������������ + +/** + QQApi������������������ + */ +enum QQApiInterfaceReqType +{ + EGETMESSAGEFROMQQREQTYPE = 0, ///< ���Q -> ���������������������������������������������Q������������ + ESENDMESSAGETOQQREQTYPE = 1, ///< ��������������� -> ���Q������������������������Q������������ + ESHOWMESSAGEFROMQQREQTYPE = 2 ///< ���Q -> ��������������������������������������������������������������� +}; + +/** + QQApi������������������ + */ +enum QQApiInterfaceRespType +{ + ESHOWMESSAGEFROMQQRESPTYPE = 0, ///< ��������������� -> ���Q������������������������������������������ + EGETMESSAGEFROMQQRESPTYPE = 1, ///< ��������������� -> ���Q���������������������������������Q��������� + ESENDMESSAGETOQQRESPTYPE = 2 ///< ���Q -> ���������������������Q��������������������������������� +}; + +/** + QQApi������������������ + */ +@interface QQBaseReq : NSObject + +/** ���������������������������\ref QQApiInterfaceReqType */ +@property (nonatomic, assign) int type; + +@end + +/** + QQApi������������������ + */ +@interface QQBaseResp : NSObject + +/** ������������������ */ +@property (nonatomic, copy) NSString* result; + +/** ������������������������ */ +@property (nonatomic, copy) NSString* errorDescription; + +/** ���������������������������\ref QQApiInterfaceRespType */ +@property (nonatomic, assign) int type; + +/** ������������ */ +@property (nonatomic, assign) NSString* extendInfo; + +@end + +/** + GetMessageFromQQReq��������������� + */ +@interface GetMessageFromQQReq : QQBaseReq + +/** + ������������GetMessageFromQQReq������������ + */ ++ (GetMessageFromQQReq *)req; + +@end + +/** + GetMessageFromQQResp��������������� + */ +@interface GetMessageFromQQResp : QQBaseResp + +/** + ������������GetMessageFromQQResp������������ + \param message ������������������������ + \return ������������GetMessageFromQQResp������������ + */ ++ (GetMessageFromQQResp *)respWithContent:(QQApiObject *)message; + +/** ������������������ */ +@property (nonatomic, retain) QQApiObject *message; + +@end + +/** + SendMessageToQQReq��������������� + */ +@interface SendMessageToQQReq : QQBaseReq + +/** + ������������SendMessageToQQReq������������ + \param message ������������������������ + \return ������������SendMessageToQQReq������������ + */ ++ (SendMessageToQQReq *)reqWithContent:(QQApiObject *)message; + +/** ������������������ */ +@property (nonatomic, retain) QQApiObject *message; + +@end + +/** + SendMessageToQQResp��������������� + */ +@interface SendMessageToQQResp : QQBaseResp + +/** + ������������SendMessageToQQResp������������ + \param result ������������������ + \param errDesp ������������������������ + \param extendInfo ������������ + \return ������������SendMessageToQQResp������������ + */ ++ (SendMessageToQQResp *)respWithResult:(NSString *)result errorDescription:(NSString *)errDesp extendInfo:(NSString*)extendInfo; + +@end + +/** + ShowMessageFromQQReq��������������� + */ +@interface ShowMessageFromQQReq : QQBaseReq + +/** + ������������ShowMessageFromQQReq������������ + \param message ��������������������������� + \return ������������ShowMessageFromQQReq������������ + */ ++ (ShowMessageFromQQReq *)reqWithContent:(QQApiObject *)message; + +/** ��������������������� */ +@property (nonatomic, retain) QQApiObject *message; + +@end + +/** + ShowMessageFromQQResp��������������� + */ +@interface ShowMessageFromQQResp : QQBaseResp + +/** + ������������ShowMessageFromQQResp������������ + \param result ������������������ + \param errDesp ������������������������ + \return ������������ShowMessageFromQQResp������������ + */ ++ (ShowMessageFromQQResp *)respWithResult:(NSString *)result errorDescription:(NSString *)errDesp; + +@end + +#endif -- Gitblit v1.8.0