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/TencentMessageObject.h | 412 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 412 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/UMengUShare/UShareSDK/SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/TencentMessageObject.h b/screendisplay/Pods/UMengUShare/UShareSDK/SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/TencentMessageObject.h new file mode 100755 index 0000000..f89ff90 --- /dev/null +++ b/screendisplay/Pods/UMengUShare/UShareSDK/SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/TencentMessageObject.h @@ -0,0 +1,412 @@ +// +// TencentMessageObject.h +// TencentOpenApi_IOS +// +// Created by qqconnect on 13-5-27. +// Copyright (c) 2013��� Tencent. All rights reserved. +// + +#ifndef QQ_OPEN_SDK_LITE + +#import <Foundation/Foundation.h> +#import <UIKit/UIKit.h> +#import "sdkdef.h" + +#define kTextLimit (1024 * 1024) +#define kDataLimit (1024 * 1024 * 10) +#define kPreviewDataLimit (1024 * 1024) + +@class TencentApiReq; +@class TencentApiResp; + +/** + * ���������NSArray��������� + */ +typedef NSArray *TCRequiredArray; + +/** + * ���������NSDictionary��������� + */ +typedef NSDictionary *TCRequiredDictionary; + +/** + * ���������TencentApiReq��������� + */ +typedef TencentApiReq *TCRequiredReq; + +/** + * ���������UIImage������������ + */ +typedef NSData *TCOptionalData; + + +/** + * ���������NSArray��������� + */ +typedef NSArray *TCOptionalArray; + +/** + * ���������TencentApiReq��������� + */ +typedef TencentApiReq *TCOptionalReq; + +/** + * TencentReqMessageType ������������������������ + */ +typedef enum +{ + /** TX APP������������������������������������������������������������������������������������sendRespMessageToTencentApp���*/ + ReqFromTencentAppQueryContent, + /** TX APP������������������ (������������������) */ + ReqFromTencentAppShowContent, + /** ��������� APP ������������ */ + ReqFromThirdAppQueryContent, + /** ��������� APP ������������������������������������*/ + ReqFromThirdAppShowContent, +} +TencentReqMessageType; + +typedef enum +{ + RespFromTencentAppQueryContent, + RespFromTencentAppShowContent, + RespFromThirdAppQueryContent, + RespFromThirdAppShowContent, +} +TencentRespMessageType; + +/** + * TencentObjVersion ������API������������������ + */ +typedef enum +{ + /** ������������ */ + TencentTextObj, + /** ������������ */ + TencentImageObj, + /** ������������ */ + TencentAudioObj, + /** ������������ */ + TencentVideoObj, + /** ��������������� */ + TencentImageAndVideoObj, +} +TencentObjVersion; + +/** + * \brief ��������� + * + * TencentApiReq������������������������������������ + */ +@interface TencentApiReq : NSObject<NSCoding> + +/** + * ������������������������������������ + * \param apiSeq ��������������� + * \param type ������������ + * \return tencentApiReq������ + */ ++ (TencentApiReq *)reqFromSeq:(NSInteger)apiSeq type:(TencentReqMessageType)type; + +/** ������������ */ +@property (readonly, assign, nonatomic)TCRequiredInt nMessageType; + +/** ������������ */ +@property (readonly, assign, nonatomic)NSInteger nPlatform; + +/** ���������SDK��������� */ +@property (readonly, assign, nonatomic)NSInteger nSdkVersion; + +/** ��������������� */ +@property (readonly, assign, nonatomic)TCRequiredInt nSeq; + +/** ������������APPID */ +@property (nonatomic, retain)TCRequiredStr sAppID; + +/** ������������ TencentBaseMessageObj������������ */ +@property (nonatomic, retain)TCOptionalArray arrMessage; + +/** ��������������� ��������������������������������������������������� */ +@property (nonatomic, retain)TCOptionalStr sDescription; + +@end + +/** + * \brief ��������� + * + * TencentApiResp������������������������������������ + */ +@interface TencentApiResp : NSObject<NSCoding> + +/** + * ������������������������������������ + * \param req ���������������������������������req������TencentApiReq��������������������������������������� + * \return ������������ + */ ++ (TencentApiResp *)respFromReq:(TencentApiReq *)req; + +/** ��������� */ +@property (nonatomic, assign)TCOptionalInt nRetCode; + +/** ������������ */ +@property (nonatomic, retain)TCOptionalStr sRetMsg; + +/** ������������������������ */ +@property (nonatomic, retain)TCOptionalReq objReq; + +@end + +/** + * \brief ��������� + * + * TencentBaseMessageObj ��������������������������� + */ +@interface TencentBaseMessageObj : NSObject<NSCoding> + +/** ������������ */ +@property (nonatomic, assign)NSInteger nVersion; + +/** ������������ */ +@property (nonatomic, retain)NSString *sName; + +/** ��������������������� ��������������������������������������������������������� ���������������������width height ���������������������������, ���������������������*/ +@property (nonatomic, retain)NSDictionary *dictExpandInfo; + +/** + * ������������������ + */ +- (BOOL)isVaild; + +@end + +#pragma mark TencentTextMessage +/** + * \brief ������������������ + * + * TencentTextMessageObjV1 ������������������������������������ + */ +@interface TencentTextMessageObjV1 : TencentBaseMessageObj + +/** + * ������ + * \note ������������������������4096������ + */ +@property (nonatomic, retain) NSString *sText; + + +/** + * ��������������������� + * \param text ������ + * \return ������������������������������ + */ +- (id)initWithText:(NSString *)text; + +@end + + +#pragma mark TecentImageMessage + +/** + * TencentApiImageSourceType ������������������������������������������������������������������ + */ +typedef enum +{ + /** ���������������url������������������ */ + AllImage, + /** ���������������url */ + UrlImage, + /** ������������������������������ */ + DataImage, +}TencentApiImageSourceType; + +/** + * \brief ������������������ + * + * TencentImageMessageObjV1 ������������������������������������ + */ +@interface TencentImageMessageObjV1 : TencentBaseMessageObj + +/** + * ������������ + * \note ������������������10M + */ +@property (nonatomic, retain) NSData *dataImage; + +/** + * ������������������ + * \note ������������������1M + */ +@property (nonatomic, retain) NSData *dataThumbImage; + +/** ������URL */ +@property (nonatomic, retain) NSString *sUrl; + +/** ��������������� */ +@property (nonatomic, retain) NSString *sDescription; + +/** ���������size */ +@property (nonatomic, assign) CGSize szImage; + +/** + * ������������ + * \note TencentApiImageSourceType��������������� + */ +@property (readonly, assign) NSInteger nType; + +/** + * ��������������������� + * \param dataImage ������������ + * \return ������������������������������ + */ +- (id)initWithImageData:(NSData *)dataImage; + +/** + * ��������������������� + * \param url ������url + * \return ������������������������������ + */ +- (id)initWithImageUrl:(NSString *)url; + +/** + * ��������������������� + * \param type ������������ + * \return ������������������������������ + */ +- (id)initWithType:(TencentApiImageSourceType)type; +@end + + +#pragma mark TencentAudioMessage +/** + * \brief ������������������ + * + * TencentAudioMessageObjV1 ������������������������������������ + */ +@interface TencentAudioMessageObjV1 : TencentBaseMessageObj + +/** ������URL */ +@property (nonatomic, retain) NSString *sUrl; + +/** + * ������������������ + * \note������������������1M + */ +@property (nonatomic, retain) NSData *dataImagePreview; + +/** ������������������URL */ +@property (nonatomic, retain) NSString *sImagePreviewUrl; + +/** ��������������� */ +@property (nonatomic, retain) NSString *sDescription; + +/** + * ��������������������� + * \param url ������URL + * \return ������������������������������ + */ +- (id)initWithAudioUrl:(NSString *)url; + +@end + + +#pragma mark TencentVideoMessage + +/** + * TencentApiVideoSourceType ������������������������������������������������������������������ + */ + +typedef enum +{ + /** ������������������������������ */ + AllVideo, + /** ��������������������� */ + LocalVideo, + /** ��������������������� */ + NetVideo, +}TencentApiVideoSourceType; + +/** + * \brief ������������������ + * + * TencentVideoMessageV1 ������������������������������������ + */ +@interface TencentVideoMessageV1 : TencentBaseMessageObj + +/** + * ������URL + * \note ������������1024 + */ +@property (nonatomic, retain) NSString *sUrl; + +/** + * ������������ ������������������������������������������������ + * \note TencentApiVideoSourceType ��������������� ������������ + */ +@property (readonly, assign, nonatomic) NSInteger nType; + +/** + * ������������������ + * \note ������������������1M + */ +@property (nonatomic, retain) NSData *dataImagePreview; + +/** ������������������URL */ +@property (nonatomic, retain) NSString *sImagePreviewUrl; + +/** ��������������� */ +@property (nonatomic, retain) NSString *sDescription; + +/** + * ��������������������� + * \param url ������URL + * \param type ������������������ + * \return ������������������������������ + */ +- (id)initWithVideoUrl:(NSString *)url type:(TencentApiVideoSourceType)type; + + +/** + * ��������������������� + * \param type ������������������ + * \return ������������������������������ + */ +- (id)initWithType:(TencentApiVideoSourceType)type; +@end + +#pragma mark TencentImageMessageObj +/** + * \brief ��������������������� + * + * TencentVideoMessageV1 ������������������������ ������������������������ + * \note ������������������������������������������ ��������������������������� ������������������������������ ��������������������������������������� + */ +@interface TencentImageAndVideoMessageObjV1 : TencentBaseMessageObj + +/** ������������ */ +@property (nonatomic, retain) TencentImageMessageObjV1 *objImageMessage; + +/** ������������ */ +@property (nonatomic, retain) TencentVideoMessageV1 *objVideoMessage; + +/** + * ��������������������� + * \param dataImage ������������ + * \param url ������url + * \return ������������������������������������ + */ +- (id)initWithMessage:(NSData *)dataImage videoUrl:(NSString *)url; + +/** + * ������������ + * \param dataImage ������������ + */ +- (void)setDataImage:(NSData *)dataImage; + +/** + * ������������ + * \param videoUrl ������URL + */ +- (void)setVideoUrl:(NSString *)videoUrl; +@end + +#endif -- Gitblit v1.8.0