JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ApplilinkConsts.h
Go to the documentation of this file.
1
12
13#import <UIKit/UIKit.h>
14
15NS_ASSUME_NONNULL_BEGIN
16
20@interface ApplilinkConsts : NSObject
21
23@property(class, nonatomic, readonly, nullable) NSString *envServer;
25@property(class, nonatomic, readonly, nullable) NSString *baseUrlSsl;
28@property(class, nonatomic, readonly, nullable) NSString *envStr;
30@property(class, nonatomic, readonly, nullable) NSString *cookieDomain;
32@property(class, nonatomic, readonly, nullable) NSString *appliId;
35@property(class, nonatomic, readonly) BOOL canUseApplilinkSdk;
37@property(class, nonatomic, readonly, nullable) NSString *version;
40@property(class, nonatomic, nullable) NSString *userId;
42@property(class, nonatomic, readonly) BOOL isNeedRewardLogin;
44@property(class, nonatomic, readonly) BOOL isNeedRecommendLogin;
46@property(class, nonatomic, nullable) NSString *categoryId;
48@property(class, nonatomic, nullable) NSString *adId;
50@property(class, nonatomic, nullable) NSString *countryCode;
51
58+ (nullable NSString *)getUrl:(nullable NSString *)path;
59
65+ (void)setUserId:(nullable NSString *)userId;
66
71+ (void)loggedInReward;
72
78+ (void)loggedInRecommend;
79
85+ (void)setAppliCountryCode:(nullable NSString *)appliCountryCode;
86
92+ (nullable NSString *)getCacheAdId;
93
99+ (void)setCacheAdId:(nullable NSString *)adId;
100
107+ (void)setAppInstallList:(nullable NSArray *)appInstallList;
108
114+ (nullable id)appInstallList;
115
121+ (void)setTemplateList:(nullable NSDictionary *)templateList;
122
128+ (nullable id)templateList;
129
135+ (void)clearData;
136
147+ (BOOL)checkUseSDKWithAdModel:(int)adModel
148 adLocation:(nullable NSString *)adLocation
149 verticalAlign:(int)verticalAlign
150 requestCode:(nullable id)requestCode
151 delegate:(nullable id)delegate;
152
153@end
154
155NS_ASSUME_NONNULL_END
156
157// code: language=Objective-C
158// kate: hl Objective-C;
159// vim: set ft=objc :
Answers questions about what the SDK can do on this device and stores its configuration.
Definition ApplilinkConsts.h:21
NSString * userId
The cached, decrypted user identifier.
Definition ApplilinkConsts.m:225
BOOL isNeedRecommendLogin
Whether a recommend re-login is needed.
Definition ApplilinkConsts.m:245
NSString * countryCode
The country code.
Definition ApplilinkConsts.m:279
NSString * envStr
A short environment tag (release/staging/develop/sandbox/localhost).
Definition ApplilinkConsts.m:135
NSString * appliId
The applilink application identifier.
Definition ApplilinkConsts.m:169
NSString * categoryId
The advert category identifier.
Definition ApplilinkConsts.m:289
NSString * envServer
The server environment name, from NSUserDefaults .
Definition ApplilinkConsts.m:104
nullable id templateList()
The decrypted stored template list, or nil.
Definition ApplilinkConsts.m:438
NSString * cookieDomain
The cookie domain for the current environment.
Definition ApplilinkConsts.m:156
NSString * adId
The advertising identifier.
Definition ApplilinkConsts.m:301
nullable NSString * getCacheAdId()
The decrypted cached advertising identifier, or nil.
Definition ApplilinkConsts.m:306
void loggedInRecommend()
Clears the recommend re-login flag.
Definition ApplilinkConsts.m:257
BOOL isNeedRewardLogin
Whether a reward re-login is needed.
Definition ApplilinkConsts.m:240
void loggedInReward()
Clears the reward re-login flag.
Definition ApplilinkConsts.m:251
BOOL canUseApplilinkSdk
Whether the SDK is usable at all on this OS version (iOS 6.1+).
Definition ApplilinkConsts.m:174
NSString * version
The SDK version string.
Definition ApplilinkConsts.m:179
NSString * baseUrlSsl
The HTTPS base every applilink web-API path is appended to.
Definition ApplilinkConsts.m:109
void clearData()
Clears the SDK's persistent defaults domain.
Definition ApplilinkConsts.m:452
nullable id appInstallList()
Loads the application-install list to refresh the advertising id; always returns nil.
Definition ApplilinkConsts.m:369