JubeatPlus 3.9.11
Loading...
Searching...
No Matches
RecommendWebAPI.h
Go to the documentation of this file.
1
22
23#import <Foundation/Foundation.h>
24
25NS_ASSUME_NONNULL_BEGIN
26
30@interface RecommendWebAPI : NSObject
31
41+ (void)checkLoginWithCallback:
42 (nullable void (^)(BOOL loginStatus, BOOL userIdPresent, NSError *_Nullable error))callback;
43
49+ (void)startLoginWithCallback:(nullable void (^)(NSError *_Nullable error))callback;
50
60+ (void)getAdDetailWithCallback:(nullable void (^)(id _Nullable categoryId,
61 id _Nullable countryCode,
62 NSError *_Nullable error))callback;
63
69+ (void)installAppliListWithCallBack:(nullable void (^)(id _Nullable list,
70 NSError *_Nullable error))callback;
71
78+ (void)appliListWithParameters:(nullable NSDictionary *)parameters
79 callBack:
80 (nullable void (^)(id _Nullable list, NSError *_Nullable error))callBack;
81
91+ (void)postApplicationInstallWithAdIdFrom:(nullable NSString *)adIdFrom
92 categoryId:(nullable NSString *)categoryId
93 adType:(nullable NSString *)adType
94 priority:(int)priority
95 callback:(nullable void (^)(NSError *_Nullable error))callback;
96
106+ (void)getBannerDetailWithAdModel:(int)adModel
107 callback:(nullable void (^)(NSInteger status,
108 NSError *_Nullable error))callback;
109
117+ (void)readRegistWithAdType:(int)adType
118 adIdList:(nullable NSArray *)adIdList
119 callback:(nullable void (^)(NSError *_Nullable error))callback;
120
128+ (void)getUnreadCountWithAdModel:(int)adModel
129 adLocation:(nullable NSString *)adLocation
130 callback:(nullable void (^)(NSInteger status,
131 NSError *_Nullable error))callback;
132
140+ (void)getPreInfoWithAdModel:(int)adModel
141 adLocation:(nullable NSString *)adLocation
142 callback:(nullable void (^)(NSDictionary *_Nullable status,
143 NSError *_Nullable error))callback;
144
152+ (void)setTemporaryCacheWithAdModel:(int)adModel
153 value:(NSInteger)value
154 expiration:(NSInteger)expiration;
155
164+ (nullable id)getTemporaryCacheWithAdModel:(int)adModel;
165
174+ (void)clickRegistWithAdIdFrom:(nullable NSString *)adIdFrom
175 adIdTo:(nullable NSString *)adIdTo
176 adModel:(int)adModel
177 callback:(nullable void (^)(id _Nullable location,
178 NSError *_Nullable error))callback;
179
188+ (void)appStartWithAdIdFrom:(nullable NSString *)adIdFrom
189 adIdTo:(nullable NSString *)adIdTo
190 adType:(int)adType
191 callback:(nullable void (^)(NSError *_Nullable error))callback;
192
198+ (void)allAdDataWithCallBack:(nullable void (^)(id _Nullable data,
199 NSError *_Nullable error))callback;
200
206+ (void)layoutIndexWithCallback:(nullable void (^)(NSError *_Nullable error))callback;
207
216+ (nullable NSURLRequest *)clickRegistWithAdIdFrom:(nullable NSString *)adIdFrom
217 adIdTo:(nullable NSString *)adIdTo
218 adModel:(int)adModel;
219
228+ (nullable NSURLRequest *)appStartWithAdIdFrom:(nullable NSString *)adIdFrom
229 adIdTo:(nullable NSString *)adIdTo
230 adType:(int)adType;
231
232@end
233
234NS_ASSUME_NONNULL_END
235
236// code: language=Objective-C
237// kate: hl Objective-C;
238// vim: set ft=objc :
The recommend network's web-API facade.
Definition RecommendWebAPI.h:31