|
JubeatPlus 3.9.11
|
The applilink recommend full-screen (interstitial) advert controller. More...
#include <RecommendFullScreenController.h>


Instance Methods | |
| (void) | - openAdViewWithAdModel:adLocation:verticalAlign:applilinkParams:delegate:closeDelegate: |
| Open a full-screen HTML interstitial advert. | |
| (void) | - openMovieWithAdModel:adLocation:verticalAlign:applilinkParams:delegate:closeDelegate: |
| Open a full-screen movie interstitial advert. | |
| (void) | - showVideoViewWithQuery: |
Present the in-app movie player for query through ApplilinkViewManager. | |
| (void) | - setViewSize |
| Lay the shade view out over the whole screen and the advert base view centred within it. | |
| (void) | - rotateWebViewWithDuration: |
| Rotate and resize the controller's view to match the current interface orientation. | |
| Instance Methods inherited from <ApplilinkViewDelegate> | |
| (void) | - appListDidStart |
| The advert flow started. | |
| (void) | - appListDidStart: |
| The advert flow started, with the originating parameters. | |
| (void) | - appListDidAppear |
| The advert became visible. | |
| (void) | - appListDidAppear: |
| The advert became visible, with the originating parameters. | |
| (void) | - appListDidDisappear |
| The advert was dismissed. | |
| (void) | - appListDidDisappear: |
| The advert was dismissed, with the originating parameters. | |
| (void) | - appListFailOpenWithError: |
| The advert failed to open. | |
| (void) | - appListFailOpenWithError:withApplilinkParameters: |
| The advert failed to open, with the originating parameters. | |
| (void) | - appListFailLoadWithError: |
| The advert failed to load. | |
| (void) | - appListFailLoadWithError:withApplilinkParameters: |
| The advert failed to load, with the originating parameters. | |
| (void) | - appListFailWithError: |
| The advert failed. | |
| (void) | - appListFailWithError:withApplilinkParameters: |
| The advert failed, with the originating parameters. | |
| (void) | - appListFailLinkWithError: |
| The advert link failed. | |
| (void) | - appListFailLinkWithError:withApplilinkParameters: |
| The advert link failed, with the originating parameters. | |
| (void) | - appListSoundUseStart |
| The advert's sound playback started. | |
| (void) | - appListSoundUseFinish |
| The advert's sound playback finished. | |
| (void) | - appListMovieFinish |
| The advert's movie finished. | |
Properties | |
| BOOL | isVisible |
| Whether the interstitial advert is currently on screen. | |
The applilink recommend full-screen (interstitial) advert controller.
The class metadata declares conformance to the closed-SDK ShadeViewDelegate, ApplilinkViewDelegate, and SdkViewDelegate protocols.
| - (void) openAdViewWithAdModel: | (int) | adModel | |
| adLocation: | (nullable NSString *) | adLocation | |
| verticalAlign: | (int) | verticalAlign | |
| applilinkParams: | (nullable ApplilinkParameters *) | applilinkParams | |
| delegate: | (nullable id) | delegate | |
| closeDelegate: | (nullable id) | closeDelegate |
Open a full-screen HTML interstitial advert.
Stores the request parameters and delegates, lays the view out, and — once RecommendAdCache has cached the advert body and its template exists on disk — spawns a RecommendAdAreaView on the main queue to render and drive the advert. On a cache or missing-file error it reports the failure through ApplilinkCore and releases itself.
| adModel | The advert-model identifier. |
| adLocation | The advert-location identifier. |
| verticalAlign | The vertical-alignment identifier. |
| applilinkParams | The advert request parameters, echoed back on failure. |
| delegate | The applilink delegate notified of the advert lifecycle. |
| closeDelegate | The full-view delegate asked to release this controller on close. |
| - (void) openMovieWithAdModel: | (int) | adModel | |
| adLocation: | (nullable NSString *) | adLocation | |
| verticalAlign: | (int) | verticalAlign | |
| applilinkParams: | (nullable ApplilinkParameters *) | applilinkParams | |
| delegate: | (nullable id) | delegate | |
| closeDelegate: | (nullable id) | closeDelegate |
Open a full-screen movie interstitial advert.
Stores the request parameters and delegates, lays the view out, asks RecommendAdCache for the movie query dictionary, picks one movie URL (a random entry from the movie_url_list, or the lone movie_url), strips the applilink://ext-app:80/movie? prefix, appends the impression, advert model, advert location, creative, display-number, and install-flag query parameters, then presents it through -showVideoViewWithQuery: on the main queue. On a cache error it reports the failure through ApplilinkCore and releases itself.
| adModel | The advert-model identifier. |
| adLocation | The advert-location identifier. |
| verticalAlign | The vertical-alignment identifier. |
| applilinkParams | The advert request parameters, echoed back on failure. |
| delegate | The applilink delegate notified of the advert lifecycle. |
| closeDelegate | The full-view delegate asked to release this controller on close. |
| - (void) rotateWebViewWithDuration: | (double) | duration |
Rotate and resize the controller's view to match the current interface orientation.
Re-runs -setViewSize, then on the legacy (pre-iOS 8 or non-Xcode 6) path applies a rotation transform and bounds animated over duration.
| duration | The rotation animation duration. |
| - (void) setViewSize |
Lay the shade view out over the whole screen and the advert base view centred within it.
Sized for the current interface orientation, the status bar, and the running iOS version.
| - (void) showVideoViewWithQuery: | (nullable NSString *) | query |
Present the in-app movie player for query through ApplilinkViewManager.
Hosts the player in this controller's own view, auto-playing, and makes this controller the manager's SDK delegate.
| query | The movie request query. |
|
readwritenonatomicassign |
Whether the interstitial advert is currently on screen.