全部  函数 属性
YXApiObject.h
1 //
2 // YXApiObject.h
3 // YixinSDK
4 //
5 // Version 2.2
6 // Created by yixin ( yixinopen@188.com )
7 // Copyright (c) 2013年 yixin.im All rights reserved.
8 //
9 
10 
11 #import <Foundation/Foundation.h>
12 
13 enum YXRespCode {
14  kYXRespSuccess = 0,
15  kYXRespErrCommon = -1,
16  kYXRespErrUserCancel = -2,
17  kYXRespErrSentFail = -3,
18  kYXRespErrAuthDeny = -4,
19  kYXRespErrUnsupport = -5,
20 };
21 
25 enum YXScene {
26  kYXSceneSession = 0,
27  kYXSceneTimeline = 1,
28  kYXSceneFavorite = 2,
29 };
30 
31 @class UIImage;
32 
36 @interface YXBaseReq : NSObject
37 // 请求类型
38 @property (nonatomic,assign) NSInteger type;
39 @end
40 
44 @interface YXBaseResp : NSObject
45 // 响应类型
46 @property (nonatomic,assign) NSInteger type;
47 //错误码
48 @property (nonatomic,assign) NSInteger code;
49 // 错误提示字符串
50 @property (nonatomic,retain) NSString *errDescription;
51 @end
52 
53 @class YXMediaMessage;
60 
64 @property (nonatomic, assign) int scene;
65 
67 @property (nonatomic, assign) BOOL bText;
68 
72 @property (nonatomic, retain) NSString *text;
73 
77 @property (nonatomic, retain) YXMediaMessage *message;
78 
82 @property (nonatomic, retain) NSString *comment;
83 
84 @end
85 
90 
91 @end
92 
97 
101 @property (nonatomic, retain) YXMediaMessage *message;
102 
103 @end
104 
109 
110 @end
111 
115 @interface YXMediaMessage : NSObject
116 
121 
125 @property (nonatomic, retain) NSString *title;
126 
130 @property (nonatomic, retain) NSString *description;
131 
138 @property (nonatomic, retain) NSData *thumbData;
139 
146 @property (nonatomic, retain) id mediaObject;
147 
148 
149 @end
150 
151 
156 @interface YXImageObject : NSObject
157 
161 +(YXImageObject *) object;
162 
166 @property (nonatomic, retain) NSData *imageData;
167 
171 @property (nonatomic, retain) NSString *imageUrl;
172 
173 @end
174 
178 @interface YXMusicObject : NSObject
179 
183 +(YXMusicObject *) object;
187 @property (nonatomic, retain) NSString *musicUrl;
191 @property (nonatomic, retain) NSString *musicLowBandUrl;
195 @property (nonatomic, retain) NSString *musicDataUrl;
196 
200 @property (nonatomic, retain) NSString *musicLowBandDataUrl;
201 
202 @end
203 
204 
208 @interface YXWebpageObject : NSObject
209 
214 
218 @property (nonatomic, retain) NSString *webpageUrl;
219 
220 @end
221 
225 @interface YXVideoObject : NSObject
226 
230 +(YXVideoObject *) object;
231 
235 @property (nonatomic, retain) NSString *videoUrl;
239 @property (nonatomic, retain) NSString *videoLowBandUrl;
240 
241 @end
242 
243 
247 @interface YXAppExtendObject : NSObject
248 
249 +(YXAppExtendObject *) object;
250 
251 @property (nonatomic, retain) NSString *url;
252 @property (nonatomic, retain) NSString *extInfo;
253 @property (nonatomic, retain) NSData *fileData;
254 
255 @end
256 
257 
263 
264 @property(nonatomic, retain) NSString *scope;
265 @property(nonatomic, retain) NSString *state;
266 
267 @end
268 
269 
274 
275 @property(nonatomic, retain) NSString *authCode;
276 @property(nonatomic, retain) NSString *state;
277 @property(nonatomic, assign) long long exprieSeonds;
278 
279 @end
280 
281 
282 
283 
YXMediaMessage * message()
NSString * musicDataUrl
Definition: YXApiObject.h:195
id mediaObject
Definition: YXApiObject.h:146
响应类的基类
Definition: YXApiObject.h:44
第三方程序发送消息至易信的消息结构体
Definition: YXApiObject.h:59
第三方程序发送OAuth认证至易信的消息结构体
Definition: YXApiObject.h:262
多媒体消息中包含的图片数据对象
Definition: YXApiObject.h:156
NSString * webpageUrl
Definition: YXApiObject.h:218
多媒体消息结构体
Definition: YXApiObject.h:115
NSData * imageData
Definition: YXApiObject.h:166
NSString * videoUrl
Definition: YXApiObject.h:235
易信客户端向第三方App返回的OAuth认证结果。
Definition: YXApiObject.h:273
YXWebpageObject * object()
NSString * musicLowBandDataUrl
Definition: YXApiObject.h:200
易信客户端向第三方App返回的处理结果。
Definition: YXApiObject.h:89
易信客户端通知第三方App,要求第三方程序显示的消息结构体。
Definition: YXApiObject.h:96
NSString * musicUrl
Definition: YXApiObject.h:187
易信客户端通知第三方程序,要求第三方程序显示或处理某些消息,第三方程序处理完后向易信终端发送的处理结果。
Definition: YXApiObject.h:108
NSString * musicLowBandUrl
Definition: YXApiObject.h:191
YXVideoObject * object()
NSString * title
Definition: YXApiObject.h:125
多媒体消息中包含的视频数据对象
Definition: YXApiObject.h:225
NSString * videoLowBandUrl
Definition: YXApiObject.h:239
多媒体消息中包含的网页数据对象
Definition: YXApiObject.h:208
NSData * thumbData
Definition: YXApiObject.h:138
NSString * description
Definition: YXApiObject.h:130
NSString * imageUrl
Definition: YXApiObject.h:171
请求类的基类
Definition: YXApiObject.h:36
多媒体消息中包含的App扩展数据对象
Definition: YXApiObject.h:247
多媒体消息中包含的音乐数据对象
Definition: YXApiObject.h:178
YXImageObject * object()
YXMusicObject * object()