24#import <UIKit/UIKit.h>
32NS_ASSUME_NONNULL_BEGIN
42@property(nonatomic, strong, nullable) UIActivityIndicatorView *
indicator;
77- (instancetype)initWithCoder:(NSCoder *)coder;
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;
117- (void)loadRequestWithAdModel:(
int)adModel
118 adLocation:(nullable NSString *)adLocation
119 verticalAlign:(
int)verticalAlign
120 delegate:(nullable
id<ApplilinkViewDelegate>)delegate;
128- (void)setScrollEnabled:(BOOL)scrollEnabled;
166- (void)appListFailLoadWithError:(nullable NSError *)error;
173- (void)appListFailLinkWithError:(nullable NSError *)error;
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