JubeatPlus 3.9.11
Loading...
Searching...
No Matches
RewardWebAPI.h
Go to the documentation of this file.
1
12
13#import <Foundation/Foundation.h>
14
15NS_ASSUME_NONNULL_BEGIN
16
20@interface RewardWebAPI : NSObject
21
28+ (void)postApplicationInstallWithPriority:(int)priority
29 callback:(nullable void (^)(NSError *_Nullable error))callback;
30
36+ (void)checkLoginWithBlock:(nullable void (^)(BOOL valid, NSError *_Nullable error))block;
37
45+ (void)startLoginWithUserId:(nullable NSString *)userId
46 withPriority:(int)priority
47 callback:(nullable void (^)(NSError *_Nullable error))callback;
48
58+ (void)appListWithCampaignId:(nullable NSString *)campaignId
59 inCompany:(nullable NSString *)company
60 offset:(nullable NSString *)offset
61 limit:(nullable NSString *)limit
62 callback:(nullable void (^)(NSDictionary *_Nullable result,
63 NSError *_Nullable error))callback;
64
71+ (void)appliIdListWithType:(int)type
72 callback:(nullable void (^)(NSDictionary *_Nullable result,
73 NSError *_Nullable error))callback;
74
80+ (void)allInstallFlgWithCallback:(nullable void (^)(NSInteger flg,
81 NSError *_Nullable error))callback;
82
88+ (void)getPreInfoWithCallback:(nullable void (^)(NSInteger flg, NSError *_Nullable error))callback;
89
96+ (void)postAppliInstallReportWithAppliList:(nullable NSArray *)appliList
97 callback:(nullable void (^)(NSError *_Nullable error))callback;
98
104+ (void)bannerInfoWithBlock:(nullable void (^)(NSDictionary *_Nullable result,
105 NSError *_Nullable error))block;
106
112+ (void)setSignatureWithParameters:(nullable NSMutableDictionary *)parameters;
113
121+ (void)setTemporaryCacheWithKey:(nullable NSString *)key
122 value:(nullable id)value
123 expiration:(NSInteger)expiration;
124
125@end
126
127NS_ASSUME_NONNULL_END
128
129// code: language=Objective-C
130// kate: hl Objective-C;
131// vim: set ft=objc :
The reward network's web-API client.
Definition RewardWebAPI.h:21