JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ApplilinkVideoController.h
Go to the documentation of this file.
1
21
22#import <UIKit/UIKit.h>
23
24#import "AppliView.h"
26#import "ApplilinkWebView.h"
27#import "VideoView.h"
28
29@class AppliView;
31
32NS_ASSUME_NONNULL_BEGIN
33
41// clang-format off
42// One protocol per line: the packed form, which begins a continuation line with ": UIViewController
43// <", is read by Doxygen as undocumented ivars named after the trailing protocols.
44@interface ApplilinkVideoController : UIViewController <VideoViewDelegate,
47// clang-format on
48
55@property(weak, nonatomic, nullable) id<SdkViewDelegate> sdkDelegate;
56
61@property(strong, nonatomic, nullable) AppliView *appliView;
62
67@property(strong, nonatomic, nullable) VideoView *videoView;
68
73@property(strong, nonatomic, nullable) ApplilinkWebView *webView;
74
79@property(strong, nonatomic, nullable) UIView *baseView;
80
85@property(strong, nonatomic, nullable) ApplilinkIndicator *indicator;
86
93@property(weak, nonatomic, nullable) id applilinkDelegate;
94
99@property(copy, nonatomic, nullable) ApplilinkParameters *applilinkParams;
100
105@property(strong, nonatomic, nullable) UIView *videoBaseView;
106
108@property(strong, nonatomic, nullable) NSString *movieUrl;
110@property(strong, nonatomic, nullable) NSString *posterUrlRect;
112@property(strong, nonatomic, nullable) NSString *storeUrl;
114@property(strong, nonatomic, nullable) NSString *storeId;
116@property(strong, nonatomic, nullable) NSString *endUrl;
118@property(strong, nonatomic, nullable) NSString *movieVoiceFlg;
120@property(strong, nonatomic, nullable) NSString *adType;
122@property(strong, nonatomic, nullable) NSString *adModel;
124@property(strong, nonatomic, nullable) NSString *adLocation;
126@property(strong, nonatomic, nullable) NSString *impressionId;
128@property(strong, nonatomic, nullable) NSString *appliIdTo;
130@property(strong, nonatomic, nullable) NSString *adIdFrom;
132@property(strong, nonatomic, nullable) NSString *adIdTo;
134@property(strong, nonatomic, nullable) NSString *creativeId;
136@property(strong, nonatomic, nullable) NSString *displayNumber;
138@property(strong, nonatomic, nullable) NSString *incentiveType;
140@property(strong, nonatomic, nullable) NSString *installFlg;
141
146@property(strong, nonatomic, nullable) id requestCode;
147
152@property(nonatomic) BOOL movieEndViewReadyFlg;
153
159@property(nonatomic) BOOL parentWindowFlag;
160
166- (void)parentWindowFlag:(BOOL)parentWindowFlag;
167
181- (BOOL)setQuery:(nullable NSString *)query
182 autoPlay:(BOOL)autoPlay
183 applilinkParams:(nullable ApplilinkParameters *)applilinkParams
184 delegate:(nullable id)delegate;
185
190- (void)toucheEnded;
191
196- (void)appListDidAppear;
197
204- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
205 duration:(NSTimeInterval)duration;
206
211- (void)viewDealloc;
212
213@end
214
215NS_ASSUME_NONNULL_END
216
217// code: language=Objective-C
218// kate: hl Objective-C;
219// vim: set ft=objc :
The applilink SDK's advert surface.
The applilink SDK's advert-request descriptor.
The applilink recommendation web view — a self-delegating UIWebView.
The applilink recommend SDK's streaming-video player view.
A full-bleed advert surface that reports each tap.
Definition AppliView.h:34
A dimming sheet with a centred activity indicator.
Definition ApplilinkIndicator.h:23
Carries one advert request's model, location, alignment and caller request code.
Definition ApplilinkParameters.h:21
The advert-video host controller.
Definition ApplilinkVideoController.h:46
ApplilinkWebView * webView
The end-card web view shown once the movie finishes.
Definition ApplilinkVideoController.h:73
NSString * adIdTo
The destination advert identifier.
Definition ApplilinkVideoController.h:132
void toucheEnded()
Called when the whole player finishes; forwards -closeNotice: to the SDK delegate.
Definition ApplilinkVideoController.m:442
UIView * baseView
An unused base view.
Definition ApplilinkVideoController.h:79
NSString * movieUrl
The movie URL parsed from the query.
Definition ApplilinkVideoController.h:108
VideoView * videoView
The advert-movie player.
Definition ApplilinkVideoController.h:67
id requestCode
The caller's request code, untyped in the metadata.
Definition ApplilinkVideoController.h:146
NSString * storeUrl
The store URL parsed from the query.
Definition ApplilinkVideoController.h:112
NSString * appliIdTo
The destination application identifier.
Definition ApplilinkVideoController.h:128
NSString * incentiveType
The incentive-type parameter.
Definition ApplilinkVideoController.h:138
NSString * adLocation
The advert location parsed from the query.
Definition ApplilinkVideoController.h:124
NSString * adModel
The advert model parsed from the query.
Definition ApplilinkVideoController.h:122
ApplilinkIndicator * indicator
The loading overlay shown while the movie prepares.
Definition ApplilinkVideoController.h:85
void viewDealloc()
Tears the player and web view down and clears every parsed parameter.
Definition ApplilinkVideoController.m:624
ApplilinkParameters * applilinkParams
The advert request parameters.
Definition ApplilinkVideoController.h:99
NSString * installFlg
The install flag parsed from the query.
Definition ApplilinkVideoController.h:140
AppliView * appliView
The black full-screen advert surface hosting the player.
Definition ApplilinkVideoController.h:61
id applilinkDelegate
The applilink core delegate carried through the analysis and notice calls.
Definition ApplilinkVideoController.h:93
id< SdkViewDelegate > sdkDelegate
The SDK delegate told about ready and close events.
Definition ApplilinkVideoController.h:55
BOOL movieEndViewReadyFlg
Set once the end-card web view has finished loading and is ready to be shown.
Definition ApplilinkVideoController.h:152
NSString * movieVoiceFlg
The sound flag parsed from the query.
Definition ApplilinkVideoController.h:118
void appListDidAppear()
Called when the app-list web view appears; opens the store URL then closes the player.
Definition ApplilinkVideoController.m:600
NSString * displayNumber
The display-number parameter.
Definition ApplilinkVideoController.h:136
NSString * posterUrlRect
The poster-image URL parsed from the query.
Definition ApplilinkVideoController.h:110
NSString * adIdFrom
The source advert identifier.
Definition ApplilinkVideoController.h:130
NSString * creativeId
The creative identifier parsed from the query.
Definition ApplilinkVideoController.h:134
NSString * endUrl
The movie-end URL.
Definition ApplilinkVideoController.h:116
BOOL parentWindowFlag
Set when the controller's view is hosted directly in the parent window rather than a subview,...
Definition ApplilinkVideoController.h:159
NSString * adType
The advert type parsed from the query.
Definition ApplilinkVideoController.h:120
UIView * videoBaseView
An unused secondary base view.
Definition ApplilinkVideoController.h:105
NSString * storeId
The store identifier parsed from the query.
Definition ApplilinkVideoController.h:114
NSString * impressionId
The impression identifier parsed from the query.
Definition ApplilinkVideoController.h:126
A UIWebView that hosts applilink recommendation content and routes its custom link schemes to an SDK ...
Definition ApplilinkWebView.h:22
An AVPlayer-backed advert-video view with a touch-revealed menu overlay.
Definition VideoView.h:69
What an AppliView tells its owner.
Definition AppliView.h:19
The delegate the SDK's advert, App Store, and web views all report back through.
Definition ApplilinkStore.h:27
The lifecycle callbacks the video player reports to its owner.
Definition VideoView.h:32