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

The applilink recommend advert web view. More...

#include <RecommendAdWebView.h>

Inheritance diagram for RecommendAdWebView:
Collaboration diagram for RecommendAdWebView:

Instance Methods

(void) - setInitParam
 Apply the shared advert web-view configuration (transparent background, autoresizing, and reset flags).
(void) - loadRequestWithAdModel:adLocation:verticalAlign:requestCode:delegate:
 Load the advert web content for an advert model at an advert location.
(void) - loadRequest
 Begin the recommend session and load the advert on the main queue.
(void) - loadRequestWithURL:parameters:
 Load an advert request built from a URL string and its query parameters.
(void) - closeAdArea
 Stop any in-flight load and notify the delegate that the advert list closed.
(void) - setScrollEnabled:
 Enable or disable scrolling on the advert's scroll subviews.
(void) - setScrollBoundsEnabled:
 Enable or disable the bounce on the advert's scroll subviews.
(void) - setScrollBarEnabled:
 Show or hide the scroll indicators on the advert's scroll subviews.
(void) - unloadRecommendView
 Stop loading the advert web view.
(void) - viewDidDisappear:
 Handle the hosting controller disappearing.
(void) - appliListClosed
 Unload the advert, clear the advert location, and notify that the advert list disappeared.
(void) - showVideoViewWithQuery:
 Present an in-app video player for a movie link's query string.
(void) - appListDidStart
 Notify the delegate that the advert list started.
(void) - appListDidAppear
 Notify the delegate that the advert list appeared.
(void) - appListDidDisappear
 Notify the delegate that the advert list disappeared and clear the delegate.
(void) - appListFailLoadWithError:
 Notify the delegate of an advert-list load failure and clear the delegate.
(void) - appListFailLinkWithError:
 Notify the delegate of an advert-list link failure.

Properties

id< ApplilinkViewDelegate > applilinkDelegate
 The advert delegate notified of the advert-list lifecycle and failures.
BOOL loadComplete
 Whether the advert web content has finished loading.
BOOL reloadFlg
 Whether the advert web view has already loaded once (so a reload skips the transparent-background setup).
BOOL cancelFlg
 Whether the advert load has been cancelled (for example by removal from the view tree).
BOOL scrollFlg
 Whether scrolling is enabled for the advert web view.
int webViewStatus
 The current web-view load status (0 idle, 1 started, 2 finished).
int adModel
 The advert-model identifier being displayed.
NSString * adLocation
 The advert-location identifier being displayed.
int verticalAlign
 The vertical-alignment identifier for the advert.
id requestCode
 The caller's opaque request code echoed back in delegate callbacks.

Detailed Description

The applilink recommend advert web view.

Method Documentation

◆ appliListClosed

- (void) appliListClosed

Unload the advert, clear the advert location, and notify that the advert list disappeared.

Ghidra address:
0x246bcc

◆ appListDidAppear

- (void) appListDidAppear

Notify the delegate that the advert list appeared.

Ghidra address:
0x2475cc

◆ appListDidDisappear

- (void) appListDidDisappear

Notify the delegate that the advert list disappeared and clear the delegate.

Ghidra address:
0x247694

◆ appListDidStart

- (void) appListDidStart

Notify the delegate that the advert list started.

Ghidra address:
0x247518

◆ appListFailLinkWithError:

- (void) appListFailLinkWithError: (nullable NSError *) error

Notify the delegate of an advert-list link failure.

Parameters
errorThe link failure error.
Ghidra address:
0x24786c

◆ appListFailLoadWithError:

- (void) appListFailLoadWithError: (nullable NSError *) error

Notify the delegate of an advert-list load failure and clear the delegate.

Parameters
errorThe load failure error.
Ghidra address:
0x24776c

◆ closeAdArea

- (void) closeAdArea

Stop any in-flight load and notify the delegate that the advert list closed.

Ghidra address:
0x2463cc

◆ loadRequest

- (void) loadRequest

Begin the recommend session and load the advert on the main queue.

Ghidra address:
0x2454c4
Ghidra address:
0x245618
Ghidra address:
0x245738
Ghidra address:
0x245884
Ghidra address:
0x245a2c

◆ loadRequestWithAdModel:adLocation:verticalAlign:requestCode:delegate:

- (void) loadRequestWithAdModel: (int) adModel
adLocation: (nullable NSString *) adLocation
verticalAlign: (int) verticalAlign
requestCode: (nullable id) requestCode
delegate: (nullable id< ApplilinkViewDelegate >) delegate 

Load the advert web content for an advert model at an advert location.

Parameters
adModelThe advert-model identifier.
adLocationThe advert-location identifier.
verticalAlignThe vertical-alignment identifier.
requestCodeThe caller's request code.
delegateThe advert delegate to notify.
Ghidra address:
0x24533c

◆ loadRequestWithURL:parameters:

- (void) loadRequestWithURL: (nullable NSString *) URL
parameters: (nullable NSDictionary *) parameters 

Load an advert request built from a URL string and its query parameters.

Parameters
URLThe advert request URL string.
parametersThe request parameters appended to the URL.
Ghidra address:
0x2462b8

◆ setInitParam

- (void) setInitParam

Apply the shared advert web-view configuration (transparent background, autoresizing, and reset flags).

Ghidra address:
0x245184

◆ setScrollBarEnabled:

- (void) setScrollBarEnabled: (BOOL) scrollBarEnabled

Show or hide the scroll indicators on the advert's scroll subviews.

Parameters
scrollBarEnabledYES to show the scroll indicators.
Ghidra address:
0x2469e8
Ghidra address:
0x2469e8

◆ setScrollBoundsEnabled:

- (void) setScrollBoundsEnabled: (BOOL) scrollBoundsEnabled

Enable or disable the bounce on the advert's scroll subviews.

Parameters
scrollBoundsEnabledYES to enable bouncing.
Ghidra address:
0x24671c
Ghidra address:
0x24671c

◆ setScrollEnabled:

- (void) setScrollEnabled: (BOOL) scrollEnabled

Enable or disable scrolling on the advert's scroll subviews.

Parameters
scrollEnabledYES to enable scrolling.
Ghidra address:
0x246420
Ghidra address:
0x246420

◆ showVideoViewWithQuery:

- (void) showVideoViewWithQuery: (nullable NSString *) query

Present an in-app video player for a movie link's query string.

Parameters
queryThe video request query parsed from the intercepted applilink://ext-app:80/movie link.
Ghidra address:
0x2473d4

◆ unloadRecommendView

- (void) unloadRecommendView

Stop loading the advert web view.

Ghidra address:
0x246bb8

◆ viewDidDisappear:

- (void) viewDidDisappear: (BOOL) viewDidDisappear

Handle the hosting controller disappearing.

Parameters
viewDidDisappearYES if the disappearance was animated.
Ghidra address:
0x246bc8
Ghidra address:
0x246bc8

Property Documentation

◆ applilinkDelegate

- (id<ApplilinkViewDelegate>) applilinkDelegate
readwritenonatomicweak

The advert delegate notified of the advert-list lifecycle and failures.

Held weakly: the view forwards each notice to it but does not own it.

◆ requestCode

- (id) requestCode
readwritenonatomicunsafe_unretained

The caller's opaque request code echoed back in delegate callbacks.

The synthesised setter stores directly without a retain, and .cxx_destruct does not release it, so this is an unowned reference.


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