JubeatPlus 3.9.11
Loading...
Searching...
No Matches
RecommendFullScreenController Class Reference

The applilink recommend full-screen (interstitial) advert controller. More...

#include <RecommendFullScreenController.h>

Inheritance diagram for RecommendFullScreenController:
Collaboration diagram for RecommendFullScreenController:

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.

Detailed Description

The applilink recommend full-screen (interstitial) advert controller.

The class metadata declares conformance to the closed-SDK ShadeViewDelegate, ApplilinkViewDelegate, and SdkViewDelegate protocols.

Method Documentation

◆ openAdViewWithAdModel:adLocation:verticalAlign:applilinkParams:delegate:closeDelegate:

- (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.

Parameters
adModelThe advert-model identifier.
adLocationThe advert-location identifier.
verticalAlignThe vertical-alignment identifier.
applilinkParamsThe advert request parameters, echoed back on failure.
delegateThe applilink delegate notified of the advert lifecycle.
closeDelegateThe full-view delegate asked to release this controller on close.
Ghidra address:
0x279df0

◆ openMovieWithAdModel:adLocation:verticalAlign:applilinkParams:delegate:closeDelegate:

- (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.

Parameters
adModelThe advert-model identifier.
adLocationThe advert-location identifier.
verticalAlignThe vertical-alignment identifier.
applilinkParamsThe advert request parameters, echoed back on failure.
delegateThe applilink delegate notified of the advert lifecycle.
closeDelegateThe full-view delegate asked to release this controller on close.
Ghidra address:
0x27a394

◆ rotateWebViewWithDuration:

- (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.

Parameters
durationThe rotation animation duration.
Ghidra address:
0x27b248
Ghidra address:
0x27b248
Ghidra address:
0x27b5a0

◆ setViewSize

- (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.

Ghidra address:
0x27ab90
Ghidra address:
0x27ab90

◆ showVideoViewWithQuery:

- (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.

Parameters
queryThe movie request query.
Ghidra address:
0x27a9e8

Property Documentation

◆ isVisible

- (BOOL) isVisible
readwritenonatomicassign

Whether the interstitial advert is currently on screen.

Ghidra address:
0x27bf78 (getter), 0x27bf88 (setter)

The documentation for this class was generated from the following files: