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

The Applilink in-app video-player host singleton. More...

#include <ApplilinkViewManager.h>

Inheritance diagram for ApplilinkViewManager:
Collaboration diagram for ApplilinkViewManager:

Instance Methods

(void) - showVideoViewWithUIView:parentWindowFlag:query:autoPlay:applilinkParams:delegate:
 Presents the video player inside a view on the main queue.
(void) - closeVideoView
 Tears the video player down and drops the player and delegate references, on the main queue.
(void) - openNotice
 Relays an opened-notice callback to the SDK delegate when it responds to it.
(void) - closeNotice:
 Relays a close-notice callback to the SDK delegate, then tears down the player when the closing view is the current one.
(void) - viewReady:
 Relays a view-ready callback to the SDK delegate when it responds to it.
(void) - rotateWithInterfaceOrientation:duration:
 Forwards a rotation to the current player, if any.
Instance Methods inherited from <SdkViewDelegate>
(void) - startedNotice
 The advert started.
(void) - openedNotice
 The advert opened.
(void) - closeNotice
 The advert closed.
(void) - closeNotice:
 An ApplilinkWebView "close" link was followed.
(void) - viewReady:
 An ApplilinkWebView finished loading and is ready.
(void) - repeatNotice:
 An ApplilinkWebView "repeat" link was followed.
(void) - storeNotice:
 An ApplilinkWebView "store" link was followed.
(void) - linkErrorNotice:error:
 An ApplilinkWebView load error occurred.
(void) - failOpenNoticeWithError:
 An advert open failed.
(void) - failLinkNoticeWithError:
 An advert link failed.
(void) - openCancelWithError:
 The delegate cancelled an advert open.
(void) - appStoreOpenedNoticeWithAppParam:
 The App Store product page opened.
(void) - appStoreCloseNoticeWithAppParam:
 The App Store product page is about to close.
(void) - appStoreClosedNoticeWithAppParam:
 The App Store product page closed.
(void) - appStoreFailLoadNoticeWithError:appParam:
 An App Store product-page load failed.
(void) - appStoreTransitionNoticeWithAppParam:
 The App Store product page transitioned.

Class Methods

(instancetype) + sharedInstance
 The shared instance, creating the private serial queue on first use.

Properties

ApplilinkVideoController * videoController
id< ApplilinkViewDelegate > applilinkDelegate
ApplilinkParameters * applilinkParams
id< SdkViewDelegate > sdkDelegate
 The SDK delegate that opened-notice and close-notice callbacks are relayed to.

Detailed Description

The Applilink in-app video-player host singleton.

Acts as the hosted ApplilinkVideoController 's SdkViewDelegate, relaying the ready and close callbacks on to its own sdkDelegate.

Method Documentation

◆ closeNotice:

- (void) closeNotice: (nullable id) view

Relays a close-notice callback to the SDK delegate, then tears down the player when the closing view is the current one.

Parameters
viewThe view that reported the close.
Ghidra address:
0x24847c

◆ closeVideoView

- (void) closeVideoView

Tears the video player down and drops the player and delegate references, on the main queue.

Ghidra address:
0x2482b8
Ghidra address:
0x24831c

◆ openNotice

- (void) openNotice

Relays an opened-notice callback to the SDK delegate when it responds to it.

Ghidra address:
0x2483d0

◆ rotateWithInterfaceOrientation:duration:

- (void) rotateWithInterfaceOrientation: (UIInterfaceOrientation) orientation
duration: (NSTimeInterval) duration 

Forwards a rotation to the current player, if any.

Parameters
orientationThe new interface orientation.
durationThe rotation animation duration.
Ghidra address:
0x248618
Ghidra address:
0x248618

◆ sharedInstance

+ (instancetype) sharedInstance

The shared instance, creating the private serial queue on first use.

Returns
The one and only manager.
Ghidra address:
0x247e98
Ghidra address:
0x247e98
Ghidra address:
0x247edc

◆ showVideoViewWithUIView:parentWindowFlag:query:autoPlay:applilinkParams:delegate:

- (void) showVideoViewWithUIView: (nullable UIView *) view
parentWindowFlag: (BOOL) parentWindowFlag
query: (nullable NSString *) query
autoPlay: (BOOL) autoPlay
applilinkParams: (nullable ApplilinkParameters *) applilinkParams
delegate: (nullable id) delegate 

Presents the video player inside a view on the main queue.

Does nothing when a player is already on screen. Otherwise builds an ApplilinkVideoController sized to the screen, installs it in view, makes the manager its SDK delegate, and hands it the playback parameters.

Parameters
viewThe view to host the player.
parentWindowFlagWhether the player treats its host as a parent window.
queryThe video request query.
autoPlayWhether playback starts automatically.
applilinkParamsThe applilink request parameters.
delegateThe SDK delegate to relay callbacks to.
Ghidra address:
0x247f3c

◆ viewReady:

- (void) viewReady: (nullable id) view

Relays a view-ready callback to the SDK delegate when it responds to it.

Parameters
viewThe view that became ready.
Ghidra address:
0x24855c

Property Documentation

◆ sdkDelegate

- (id<SdkViewDelegate>) sdkDelegate
readwritenonatomicweak

The SDK delegate that opened-notice and close-notice callbacks are relayed to.

Ghidra address:
0x2486e4

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