The advert-video host controller.
More...
#include <ApplilinkVideoController.h>
|
| id< SdkViewDelegate > | sdkDelegate |
| | The SDK delegate told about ready and close events.
|
| AppliView * | appliView |
| | The black full-screen advert surface hosting the player.
|
| VideoView * | videoView |
| | The advert-movie player.
|
| ApplilinkWebView * | webView |
| | The end-card web view shown once the movie finishes.
|
| UIView * | baseView |
| | An unused base view.
|
| ApplilinkIndicator * | indicator |
| | The loading overlay shown while the movie prepares.
|
| id | applilinkDelegate |
| | The applilink core delegate carried through the analysis and notice calls.
|
| ApplilinkParameters * | applilinkParams |
| | The advert request parameters.
|
| UIView * | videoBaseView |
| | An unused secondary base view.
|
| NSString * | movieUrl |
| | The movie URL parsed from the query.
|
| NSString * | posterUrlRect |
| | The poster-image URL parsed from the query.
|
| NSString * | storeUrl |
| | The store URL parsed from the query.
|
| NSString * | storeId |
| | The store identifier parsed from the query.
|
| NSString * | endUrl |
| | The movie-end URL.
|
| NSString * | movieVoiceFlg |
| | The sound flag parsed from the query.
|
| NSString * | adType |
| | The advert type parsed from the query.
|
| NSString * | adModel |
| | The advert model parsed from the query.
|
| NSString * | adLocation |
| | The advert location parsed from the query.
|
| NSString * | impressionId |
| | The impression identifier parsed from the query.
|
| NSString * | appliIdTo |
| | The destination application identifier.
|
| NSString * | adIdFrom |
| | The source advert identifier.
|
| NSString * | adIdTo |
| | The destination advert identifier.
|
| NSString * | creativeId |
| | The creative identifier parsed from the query.
|
| NSString * | displayNumber |
| | The display-number parameter.
|
| NSString * | incentiveType |
| | The incentive-type parameter.
|
| NSString * | installFlg |
| | The install flag parsed from the query.
|
| id | requestCode |
| | The caller's request code, untyped in the metadata.
|
| BOOL | movieEndViewReadyFlg |
| | Set once the end-card web view has finished loading and is ready to be shown.
|
| BOOL | parentWindowFlag |
| | Set when the controller's view is hosted directly in the parent window rather than a subview, which changes the status-bar offset compensation.
|
The advert-video host controller.
Adopts VideoViewDelegate (the player's callbacks) and SdkViewDelegate (the end-card web view's callbacks); the two protocols share the ready/close/repeat/store/error selectors, which is why one controller can be both.
◆ appListDidAppear
| - (void) appListDidAppear |
|
|
|
Called when the app-list web view appears; opens the store URL then closes the player.
- Ghidra address:
- 0x225d08
◆ parentWindowFlag:
| - (void) parentWindowFlag: |
|
(BOOL) | parentWindowFlag |
|
Sets parentWindowFlag .
A hand-written setter distinct from the synthesised one.
- Parameters
-
| parentWindowFlag | The new flag value. |
- Ghidra address:
- 0x223c80
- Ghidra address:
- 0x223c80
◆ setQuery:autoPlay:applilinkParams:delegate:
| - (BOOL) setQuery: |
|
(nullable NSString *) | query |
| autoPlay: |
|
(BOOL) | autoPlay |
| applilinkParams: |
|
(nullable ApplilinkParameters *) | applilinkParams |
| delegate: |
|
(nullable id) | delegate |
Parses the advert query and builds the player.
Splits query on "&" into key=value pairs, URL-decodes each recognised value into its matching parameter ivar, then builds the movie view. When autoPlay is set the loading indicator is released on the main queue and the player is told to auto-start.
- Parameters
-
| query | The advert query string. |
| autoPlay | Whether to start playback as soon as the movie is ready. |
| applilinkParams | The request parameters (stored directly, not copied). |
| delegate | The applilink core delegate (stored into applilinkDelegate ). |
- Returns
YES when query was non-nil and parsed, NO otherwise.
- Ghidra address:
- 0x223c90
◆ toucheEnded
Called when the whole player finishes; forwards -closeNotice: to the SDK delegate.
- Ghidra address:
- 0x225678
Reimplemented from <AppliViewDelegate>.
◆ viewDealloc
Tears the player and web view down and clears every parsed parameter.
- Ghidra address:
- 0x226418
◆ willAnimateRotationToInterfaceOrientation:duration:
| - (void) willAnimateRotationToInterfaceOrientation: |
|
(UIInterfaceOrientation) | interfaceOrientation |
| duration: |
|
(NSTimeInterval) | duration |
Rebuilds the movie view laid out for the given interface orientation.
- Parameters
-
| interfaceOrientation | The target interface orientation. |
| duration | The rotation animation duration. |
- Ghidra address:
- 0x225650
- Ghidra address:
- 0x225650
◆ adIdFrom
The source advert identifier.
- Ghidra address:
- 0x226ba8 (getter)
◆ adIdTo
The destination advert identifier.
- Ghidra address:
- 0x226bf0 (getter)
◆ adLocation
The advert location parsed from the query.
- Ghidra address:
- 0x226ad0 (getter)
◆ adModel
The advert model parsed from the query.
- Ghidra address:
- 0x226a88 (getter)
◆ adType
The advert type parsed from the query.
- Ghidra address:
- 0x226a40 (getter)
◆ appliIdTo
The destination application identifier.
- Ghidra address:
- 0x226b60 (getter)
◆ applilinkDelegate
The applilink core delegate carried through the analysis and notice calls.
Weak (the metadata attribute is W ) and untyped in the metadata, so a bare id .
- Ghidra address:
- 0x2267e8 (getter)
◆ applilinkParams
The advert request parameters.
Copied on assignment.
- Ghidra address:
- 0x22681c (getter)
◆ appliView
The black full-screen advert surface hosting the player.
- Ghidra address:
- 0x226680 (getter)
◆ baseView
An unused base view.
Retained by the property but never assigned in the recovered code.
- Ghidra address:
- 0x226758 (getter)
◆ creativeId
The creative identifier parsed from the query.
- Ghidra address:
- 0x226c38 (getter)
◆ displayNumber
| - (NSString*) displayNumber |
|
readwritenonatomicstrong |
The display-number parameter.
- Ghidra address:
- 0x226c80 (getter)
◆ endUrl
The movie-end URL.
- Ghidra address:
- 0x2269b0 (getter)
◆ impressionId
| - (NSString*) impressionId |
|
readwritenonatomicstrong |
The impression identifier parsed from the query.
- Ghidra address:
- 0x226b18 (getter)
◆ incentiveType
| - (NSString*) incentiveType |
|
readwritenonatomicstrong |
The incentive-type parameter.
- Ghidra address:
- 0x226cc8 (getter)
◆ indicator
The loading overlay shown while the movie prepares.
- Ghidra address:
- 0x2267a0 (getter)
◆ installFlg
The install flag parsed from the query.
- Ghidra address:
- 0x226d10 (getter)
◆ movieEndViewReadyFlg
| - (BOOL) movieEndViewReadyFlg |
|
readwritenonatomicassign |
Set once the end-card web view has finished loading and is ready to be shown.
- Ghidra address:
- 0x226d78 (getter)
◆ movieUrl
The movie URL parsed from the query.
- Ghidra address:
- 0x226890 (getter)
◆ movieVoiceFlg
| - (NSString*) movieVoiceFlg |
|
readwritenonatomicstrong |
The sound flag parsed from the query.
- Ghidra address:
- 0x2269f8 (getter)
◆ parentWindowFlag
| - (BOOL) parentWindowFlag |
|
readwritenonatomicassign |
Set when the controller's view is hosted directly in the parent window rather than a subview, which changes the status-bar offset compensation.
- Ghidra address:
- 0x226d98 (getter)
◆ posterUrlRect
| - (NSString*) posterUrlRect |
|
readwritenonatomicstrong |
The poster-image URL parsed from the query.
- Ghidra address:
- 0x2268d8 (getter)
◆ requestCode
The caller's request code, untyped in the metadata.
- Ghidra address:
- 0x226d58 (getter)
◆ sdkDelegate
The SDK delegate told about ready and close events.
Weak (the metadata attribute is W ): the controller reports to it but does not own it.
- Ghidra address:
- 0x22664c (getter)
◆ storeId
The store identifier parsed from the query.
- Ghidra address:
- 0x226968 (getter)
◆ storeUrl
The store URL parsed from the query.
- Ghidra address:
- 0x226920 (getter)
◆ videoBaseView
| - (UIView*) videoBaseView |
|
readwritenonatomicstrong |
An unused secondary base view.
Retained by the property but never assigned.
- Ghidra address:
- 0x226848 (getter)
◆ videoView
The advert-movie player.
- Ghidra address:
- 0x2266c8 (getter)
◆ webView
The end-card web view shown once the movie finishes.
- Ghidra address:
- 0x226710 (getter)
The documentation for this class was generated from the following files: