JubeatPlus 3.9.11
Loading...
Searching...
No Matches
RecommendAdAreaView.h
Go to the documentation of this file.
1
23
24#import <UIKit/UIKit.h>
25
26#import "ApplilinkStore.h"
28
29NS_ASSUME_NONNULL_BEGIN
30
34@interface RecommendAdAreaView : UIWebView <SdkViewDelegate, UIWebViewDelegate>
35
42@property(nonatomic, weak, nullable) id<ApplilinkViewDelegate> applilinkDelegate;
43
48@property(nonatomic, weak, nullable) id<SdkViewDelegate> sdkDelegate;
49
54@property(nonatomic, assign) int webViewStatus;
55
60@property(nonatomic, assign) int adType;
61
66@property(nonatomic, assign) int adModel;
67
72@property(nonatomic, strong, nullable) NSString *adLocation;
73
81@property(nonatomic, strong, readonly, nullable) NSString *impressionId;
82
90@property(nonatomic, unsafe_unretained, nullable) id requestCode;
91
97- (void)setImpressionId:(nullable NSString *)impressionId;
98
104- (void)startPath:(nullable NSString *)path;
105
116- (void)setAdModel:(int)adModel
117 adLocation:(nullable NSString *)adLocation
118 adType:(int)adType
119 requestCode:(nullable id)requestCode
120 delegate:(nullable id<ApplilinkViewDelegate>)delegate;
121
126- (void)closeAdArea;
127
133- (void)setScrollEnabled:(BOOL)scrollEnabled;
134
140- (void)setScrollBoundsEnabled:(BOOL)scrollBoundsEnabled;
141
147- (void)setScrollBarEnabled:(BOOL)scrollBarEnabled;
148
155- (void)showVideoViewWithQuery:(nullable NSString *)query;
156
161- (void)appListDidAppear;
162
167- (void)appListDidDisappear;
168
174- (void)appListFailLoadWithError:(nullable NSError *)error;
175
181- (void)appListFailLinkWithError:(nullable NSError *)error;
182
191- (int)redirectWithRequest:(nullable NSURLRequest *)request;
192
197- (void)openedNotice;
198
203- (void)closeNotice;
204
209- (void)openErrorNotice;
210
216
221- (void)appStoreCloseNotice;
222
228
234- (void)appStoreFailLoadNoticeWithError:(nullable NSError *)error;
235
241
242@end
243
244NS_ASSUME_NONNULL_END
245
246// code: language=Objective-C
247// kate: hl Objective-C;
248// vim: set ft=objc :
The applilink SDK's App Store product-page facade singleton.
The applilink advert-view delegate protocol.
The applilink recommend-advert area web view.
Definition RecommendAdAreaView.h:34
void closeNotice()
Tear down the advert area and remove it from its superview.
Definition RecommendAdAreaView.m:632
id requestCode
The caller's opaque request code echoed back in delegate callbacks.
Definition RecommendAdAreaView.h:90
void openedNotice()
Handle the advert opening.
Definition RecommendAdAreaView.m:628
void appListDidAppear()
Notify the delegates that the advert list appeared.
Definition RecommendAdAreaView.m:573
void appStoreClosedNotice()
Handle the App Store product page having closed.
Definition RecommendAdAreaView.m:653
int adType
The advert-type identifier being displayed.
Definition RecommendAdAreaView.h:60
int adModel
The advert-model identifier being displayed.
Definition RecommendAdAreaView.h:66
void appStoreOpenedNotice()
Handle the App Store product page opening.
Definition RecommendAdAreaView.m:642
void appListDidDisappear()
Notify the delegates that the advert list disappeared and clear the delegates.
Definition RecommendAdAreaView.m:584
int webViewStatus
The current web-view load status (0 idle, 1 started, 2 finished).
Definition RecommendAdAreaView.h:54
id< SdkViewDelegate > sdkDelegate
The SDK delegate notified of the raw open, close, and failure notices.
Definition RecommendAdAreaView.h:48
void closeAdArea()
Tear down the advert area, notifying that the advert list disappeared.
Definition RecommendAdAreaView.m:208
void appStoreTransitionNotice()
Handle the App Store product page transitioning.
Definition RecommendAdAreaView.m:661
id< ApplilinkViewDelegate > applilinkDelegate
The advert delegate notified of the advert-list lifecycle and failures.
Definition RecommendAdAreaView.h:42
void openErrorNotice()
Handle an advert open error.
Definition RecommendAdAreaView.m:638
NSString * impressionId
The impression identifier assigned when the advert content finishes loading.
Definition RecommendAdAreaView.h:81
void appStoreCloseNotice()
Handle the App Store product page closing, tearing down the advert for advert model 5.
Definition RecommendAdAreaView.m:646
NSString * adLocation
The advert-location identifier being displayed.
Definition RecommendAdAreaView.h:72
The delegate the SDK's advert, App Store, and web views all report back through.
Definition ApplilinkStore.h:27