JubeatPlus 3.9.11
Loading...
Searching...
No Matches
RecommendWebView.h
Go to the documentation of this file.
1
23
24#import <UIKit/UIKit.h>
25
27
31
32NS_ASSUME_NONNULL_BEGIN
33
38
42@property(nonatomic, strong, nullable) UIActivityIndicatorView *indicator;
43
47@property(nonatomic, strong, nullable) RecommendAdWebView *webView;
48
52@property(nonatomic, strong, nullable) RecommendAdAreaView *adAreaWebView;
53
59@property(nonatomic, weak, nullable) id<ApplilinkViewDelegate> applilinkDelegate;
60
64@property(nonatomic, copy, nullable) ApplilinkParameters *applilinkParams;
65
69@property(nonatomic, assign) BOOL webViewBounces;
70
77- (instancetype)initWithCoder:(NSCoder *)coder;
78
84- (void)setInitParam;
85
98- (void)loadRequestWithAdModel:(int)adModel
99 adLocation:(nullable NSString *)adLocation
100 verticalAlign:(int)verticalAlign
101 requestCode:(nullable id)requestCode
102 delegate:(nullable id<ApplilinkViewDelegate>)delegate;
103
117- (void)loadRequestWithAdModel:(int)adModel
118 adLocation:(nullable NSString *)adLocation
119 verticalAlign:(int)verticalAlign
120 delegate:(nullable id<ApplilinkViewDelegate>)delegate;
121
128- (void)setScrollEnabled:(BOOL)scrollEnabled;
129
134- (void)hiddenIndicator;
135
140- (void)closeAdArea;
141
146- (void)appListDidStart;
147
152- (void)appListDidAppear;
153
159- (void)appListDidDisappear;
160
166- (void)appListFailLoadWithError:(nullable NSError *)error;
167
173- (void)appListFailLinkWithError:(nullable NSError *)error;
174
181
188
189@end
190
191NS_ASSUME_NONNULL_END
192
193// code: language=Objective-C
194// kate: hl Objective-C;
195// vim: set ft=objc :
The applilink advert-view delegate protocol.
Carries one advert request's model, location, alignment and caller request code.
Definition ApplilinkParameters.h:21
The applilink recommend-advert area web view.
Definition RecommendAdAreaView.h:34
The applilink recommend advert web view.
Definition RecommendAdWebView.h:30
The applilink recommend-advert web-view container.
Definition RecommendWebView.h:37
void hiddenIndicator()
Stop animating and cancel the pending auto-hide of the loading indicator.
Definition RecommendWebView.m:215
UIActivityIndicatorView * indicator
The loading activity indicator overlaid while the advert loads.
Definition RecommendWebView.h:42
BOOL webViewBounces
Whether the inner web view is allowed to scroll (bounce) when dragged.
Definition RecommendWebView.h:69
id< ApplilinkViewDelegate > applilinkDelegate
The advert delegate notified of the advert-list lifecycle and failures.
Definition RecommendWebView.h:59
void appListDidDisappear()
Remove the loading indicator and inner web view, fire the sound-use-finish notice,...
Definition RecommendWebView.m:270
void setInitParam()
Apply the shared container configuration (transparent, non-opaque, fully flexible autoresizing,...
Definition RecommendWebView.m:64
void closeAdArea()
Tear down both inner advert views before this view leaves the tree.
Definition RecommendWebView.m:222
void appListDidAppear()
Remove the loading indicator and notify the delegate that the advert list appeared.
Definition RecommendWebView.m:260
void appListSoundUseFinish()
Notify the delegate that the advert has finished using sound, so the host can resume its own audio.
Definition RecommendWebView.m:307
RecommendAdAreaView * adAreaWebView
The inner area view that renders a cached (local HTML) recommend advert.
Definition RecommendWebView.h:52
void appListSoundUseStart()
Notify the delegate that the advert has begun using sound, so the host can pause its own audio.
Definition RecommendWebView.m:303
ApplilinkParameters * applilinkParams
The request parameters for the advert currently being displayed.
Definition RecommendWebView.h:64
void appListDidStart()
Notify the delegate that the advert list started.
Definition RecommendWebView.m:256
RecommendAdWebView * webView
The inner web view that renders a live recommend advert.
Definition RecommendWebView.h:47
The advert-view lifecycle callbacks the applilink SDK reports to a host.
Definition ApplilinkViewDelegate.h:24