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

The Applilink recommend SDK's shared advert controller. More...

#include <RecommendCore.h>

Inheritance diagram for RecommendCore:
Collaboration diagram for RecommendCore:

Instance Methods

(instancetype) - init
 Initialise the recommend core, serialising the super initialisation on its work queue.
(BOOL) - isInitialized
 Whether the recommend core is fully initialised.
(void) - clearInitialize
 Reset the initialisation flag and clear the cached advert data, expiry, and cache folder.
(BOOL) - isInstalledAppliWithScheme:
 Whether an application registered under scheme is installed on the device.
(void) - startWithCallback:
 Start the recommend SDK, posting the application install once per install.
(void) - startSessionWithCallback:
 Start a recommend session, calling callback when it completes.
(void) - appliListWithCallBack:
 Fetch the installed-application list, gating the request on a fresh session.
(void) - appliListCacheWithCallBack:
 Return the cached installed-application list, fetching it when absent.
(void) - getAdStatusWithAdModel:callback:
 Query the advert status for adModel.
(void) - getUnreadCountWithAdModel:adLocation:callback:
 Query the unread advert count for adModel at adLocation.
(void) - getAdDisplayStatusWithAdModel:adLocation:callback:
 Query the advert-display status for adModel at adLocation.
(void) - getAllAdStatusWithCallback:
 Query the advert status for every advert model.
(void) - clearAllAdData
 Clear every cached advert-data record.
(void) - reloadAllAdData
 Clear and re-fetch every cached advert-data record.
(void) - openAdScreenWithParentView:adModel:adLocation:verticalAlign:requestCode:delegate:
 Open the advert screen inside parentView.
(void) - openAdAreaWithParentView:rect:adModel:adLocation:verticalAlign:requestCode:delegate:
 Open the advert area inside parentView.
(void) - openFullViewControllerWithAdModel:adLocation:verticalAlign:requestCode:delegate:
 Open a full-screen advert view controller.
(void) - openMovieViewControllerWithAdModel:adLocation:verticalAlign:requestCode:delegate:
 Open a full-screen movie advert view controller.
(void) - closeAdScreen
 Close the advert screen.
(void) - showVideoViewWithQuery:
 Present a video advert view for query inside the current advert-screen view.
(void) - rotateWithInterfaceOrientation:duration:
 Rotate any open recommend-advert screen to a new interface orientation.
(int) - redirectViewContollerWithRequest:
 Handle an advert-screen redirect request using the current advert parameters.
(int) - redirectWithRequest:
 Handle an advert-screen redirect request with no advert parameters.
(int) - redirectWithRequest:appParam:
 Handle an advert-screen redirect request, dispatching Applilink deep links.
(nullable id) - getTemporaryCacheWithAdModel:
 Return the cached banner status for adModel, expiring stale entries.
(BOOL) - canUseBannerCache
 Whether the banner cache may be used, clearing it when no UDID is available.
(void) - clearAdStatus
 Clear the cached banner status.
(void) - clearSession
 Clear every stored HTTP cookie, ending the recommend session.
(void) - postAnalysisListRegistWithAdType:AdModel:adLocation:impressionId:
 Register an impression list for the displayed adverts.
(void) - showOwnAdWithAdLocation:toAppliId:creativeId:
 Show a first-party advert with the default advert model.
(void) - showOwnAdWithAdLocation:adModel:toAppliId:creativeId:
 Show a first-party advert for adModel.
(void) - touchOwnAdWithAdLocation:toAppliId:creativeId:requestCode:delegate:
 Register a first-party advert touch with the default advert model.
(void) - touchOwnAdWithAdLocation:adModel:toAppliId:creativeId:requestCode:delegate:
 Register a first-party advert touch for adModel.
(void) - linkActionWithDefaultScheme:adIdTo:adType:adModel:delegate:
 Launch the click link action for a first-party advert.
(void) - linkActionWithURL:delegate:
 Launch the click link action for a movie advert against a fully formed URL.
(void) - setUniqueAdWithAdLocation:impressionId:
 Store, or clear, the unique-advert impression identifier for adLocation.
(nullable id) - getUniqueAdWithAdLocation:
 Return the stored unique-advert impression identifier for adLocation.
(void) - failLoadWithError:
 Report a load failure for the click link connection.
(void) - finishLoadWithResponse:
 Report a load completion for the click link connection.
(BOOL) - redirectStartLoad:
 Handle a redirect while loading the click link connection.
(void) - releaseAdScreenViewController
 Release the advert-screen view controller.
(void) - releaseInterstitialViewController
 Release the full-screen (interstitial) advert view controller.
(void) - appListDidStart
 Notify the delegate that the installed-application list started.
(void) - appListDidAppear
 Notify the delegate that the installed-application list appeared.
(void) - appListDidDisappear
 Notify the delegate that the installed-application list disappeared.
(void) - appListFailOpenWithError:
 Report an installed-application list open failure to the delegate.
(void) - appListFailLoadWithError:
 Report an installed-application list load failure to the delegate.
(void) - appListFailWithError:
 Report an installed-application list failure to the delegate.
(void) - appListSoundUseStart
 Notify the delegate that the advert list started using sound.
(void) - appListSoundUseFinish
 Notify the delegate that the advert list finished using sound.
(void) - startedNotice
 Notify the delegate that the advert started.
(void) - openedNotice
 Notify the delegate that the advert opened.
(void) - closeNotice
 Notify the delegate that the advert closed.
(void) - failOpenNoticeWithError:
 Report an advert open failure to the delegate.
(void) - failLinkNoticeWithError:
 Report an advert link failure to the delegate.
(void) - appStoreOpenedNoticeWithAppParam:
 Notify the delegate that the App Store advert opened.
(void) - appStoreCloseNoticeWithAppParam:
 Notify the delegate that the App Store advert is about to close.
(void) - appStoreClosedNoticeWithAppParam:
 Notify the delegate that the App Store advert closed.
(void) - appStoreFailLoadNoticeWithError:appParam:
 Report an App Store advert load failure, launching a pending deep link if one is held.
(void) - appStoreTransitionNoticeWithAppParam:
 Notify the delegate that the App Store advert transitioned.
(nullable NSString *) - getMovideEndUrlWithAdIdFrom:adIdTo:adModel:adLocation:impressionId:creativeId:displayNumber:installFlg:
 Build the movie-end reporting URL from its request parameters.
Instance Methods inherited from <ApplilinkURLConnectionDelegate>
(void) - finishLoadWithResponse:
 Sent when the request completes, with the body decoded as a UTF-8 string.
Instance Methods inherited from <SdkViewDelegate>
(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) - openCancelWithError:
 The delegate cancelled an advert open.

Class Methods

(instancetype) + sharedInstance
 The shared recommend-core instance.
(void) + clearData
 Clear recommend SDK data, except when the server environment is disabled ("0").

Properties

int initializeFlg
 Whether the recommend core has been initialised.
RecommendFullScreenController * interstitialViewController
 The full-screen (interstitial) advert view controller currently presented, if any.
RecommendWebViewController * adScreenViewController
 The advert-screen web view controller currently presented, if any.
id< ApplilinkViewDelegate > applilinkDelegate
 The delegate that receives Applilink advert-screen lifecycle callbacks.
ApplilinkParameters * applilinkParams
 The advert-request parameters for the advert-screen presentation in flight.
NSString * urlString
 The pending App Store deep-link URL string, held between a redirect and its launch.
BOOL navigationBarHidden
 Whether the advert screen hides its navigation bar.
BOOL adScreenviewCloseFlg
 Whether the advert screen has already been closed, guarding a double close.
BOOL redirectFlg
 Whether a redirect (App Store or external application launch) is in flight.
id< ApplilinkViewDelegate > adAreaDelegate
 The delegate that receives advert-area lifecycle callbacks.
id< InterstitiaViewDelegate > adScreenDelegate
 The delegate that receives interstitial advert-screen lifecycle callbacks.
id< ApplilinkViewDelegate > uniqueAdDelegate
 The delegate that receives first-party advert (click) lifecycle callbacks.
ApplilinkParameters * uniqueApplilinkParams
 The advert-request parameters for the first-party advert click in flight.

Detailed Description

The Applilink recommend SDK's shared advert controller.

Method Documentation

◆ appliListCacheWithCallBack:

- (void) appliListCacheWithCallBack: (nullable void(^)(id _Nullable list, NSError *_Nullable error)) callback

Return the cached installed-application list, fetching it when absent.

Parameters
callbackThe completion callback invoked with the list and an error.
Ghidra address:
0x269ea4

◆ appliListWithCallBack:

- (void) appliListWithCallBack: (nullable void(^)(id _Nullable list, NSError *_Nullable error)) callback

Fetch the installed-application list, gating the request on a fresh session.

Parameters
callbackThe completion callback invoked with the list and an error.
Ghidra address:
0x269d84

◆ appListDidAppear

- (void) appListDidAppear

Notify the delegate that the installed-application list appeared.

Ghidra address:
0x27063c

◆ appListDidDisappear

- (void) appListDidDisappear

Notify the delegate that the installed-application list disappeared.

Ghidra address:
0x27075c

◆ appListDidStart

- (void) appListDidStart

Notify the delegate that the installed-application list started.

Ghidra address:
0x270534

◆ appListFailLoadWithError:

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

Report an installed-application list load failure to the delegate.

Parameters
errorThe load error.
Ghidra address:
0x270a70

◆ appListFailOpenWithError:

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

Report an installed-application list open failure to the delegate.

Parameters
errorThe open error.
Ghidra address:
0x2708c8

◆ appListFailWithError:

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

Report an installed-application list failure to the delegate.

Parameters
errorThe failure error.
Ghidra address:
0x270c18

◆ appListSoundUseFinish

- (void) appListSoundUseFinish

Notify the delegate that the advert list finished using sound.

Ghidra address:
0x270e10

◆ appListSoundUseStart

- (void) appListSoundUseStart

Notify the delegate that the advert list started using sound.

Ghidra address:
0x270dc0

◆ appStoreClosedNoticeWithAppParam:

- (void) appStoreClosedNoticeWithAppParam: (nullable ApplilinkParameters *) appParam

Notify the delegate that the App Store advert closed.

Parameters
appParamThe advert parameters.
Ghidra address:
0x27120c

Reimplemented from <SdkViewDelegate>.

◆ appStoreCloseNoticeWithAppParam:

- (void) appStoreCloseNoticeWithAppParam: (nullable ApplilinkParameters *) appParam

Notify the delegate that the App Store advert is about to close.

Parameters
appParamThe advert parameters.
Ghidra address:
0x271208

Reimplemented from <SdkViewDelegate>.

◆ appStoreFailLoadNoticeWithError:appParam:

- (void) appStoreFailLoadNoticeWithError: (nullable NSError *) error
appParam: (nullable ApplilinkParameters *) appParam 

Report an App Store advert load failure, launching a pending deep link if one is held.

Parameters
errorThe load error.
appParamThe advert parameters.
Ghidra address:
0x2712d8

Reimplemented from <SdkViewDelegate>.

◆ appStoreOpenedNoticeWithAppParam:

- (void) appStoreOpenedNoticeWithAppParam: (nullable ApplilinkParameters *) appParam

Notify the delegate that the App Store advert opened.

Parameters
appParamThe advert parameters.
Ghidra address:
0x271180

Reimplemented from <SdkViewDelegate>.

◆ appStoreTransitionNoticeWithAppParam:

- (void) appStoreTransitionNoticeWithAppParam: (nullable ApplilinkParameters *) appParam

Notify the delegate that the App Store advert transitioned.

Parameters
appParamThe advert parameters.
Ghidra address:
0x2714c4

Reimplemented from <SdkViewDelegate>.

◆ canUseBannerCache

- (BOOL) canUseBannerCache

Whether the banner cache may be used, clearing it when no UDID is available.

Returns
YES when at least one UDID is present.
Ghidra address:
0x26e07c

◆ clearAdStatus

- (void) clearAdStatus

Clear the cached banner status.

Ghidra address:
0x26e150

◆ clearAllAdData

- (void) clearAllAdData

Clear every cached advert-data record.

Ghidra address:
0x26a98c

◆ clearData

+ (void) clearData

Clear recommend SDK data, except when the server environment is disabled ("0").

Ghidra address:
0x26e33c

◆ clearInitialize

- (void) clearInitialize

Reset the initialisation flag and clear the cached advert data, expiry, and cache folder.

Ghidra address:
0x268e9c

◆ clearSession

- (void) clearSession

Clear every stored HTTP cookie, ending the recommend session.

Ghidra address:
0x26e1e4

◆ closeAdScreen

- (void) closeAdScreen

Close the advert screen.

Ghidra address:
0x26cb14

◆ closeNotice

- (void) closeNotice

Notify the delegate that the advert closed.

Ghidra address:
0x270f68

Reimplemented from <SdkViewDelegate>.

◆ failLinkNoticeWithError:

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

Report an advert link failure to the delegate.

Parameters
errorThe link error.
Ghidra address:
0x2710fc

Reimplemented from <SdkViewDelegate>.

◆ failLoadWithError:

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

Report a load failure for the click link connection.

Parameters
errorThe load error.
Ghidra address:
0x2701c4

Reimplemented from <ApplilinkURLConnectionDelegate>.

◆ failOpenNoticeWithError:

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

Report an advert open failure to the delegate.

Parameters
errorThe open error.
Ghidra address:
0x27102c

Reimplemented from <SdkViewDelegate>.

◆ finishLoadWithResponse:

- (void) finishLoadWithResponse: (nullable id) response

Report a load completion for the click link connection.

Parameters
responseThe load response.
Ghidra address:
0x270344

◆ getAdDisplayStatusWithAdModel:adLocation:callback:

- (void) getAdDisplayStatusWithAdModel: (int) adModel
adLocation: (nullable NSString *) adLocation
callback: (nullable void(^)(NSDictionary *_Nullable status, NSError *_Nullable error)) callback 

Query the advert-display status for adModel at adLocation.

Parameters
adModelThe advert-model identifier.
adLocationThe ad-location identifier.
callbackThe display-status callback.
Ghidra address:
0x26a434

◆ getAdStatusWithAdModel:callback:

- (void) getAdStatusWithAdModel: (int) adModel
callback: (nullable void(^)(NSInteger status, NSError *_Nullable error)) callback 

Query the advert status for adModel.

Parameters
adModelThe advert-model identifier.
callbackThe status callback.
Ghidra address:
0x269f40

◆ getAllAdStatusWithCallback:

- (void) getAllAdStatusWithCallback: (nullable void(^)(NSError *_Nullable error)) callback

Query the advert status for every advert model.

Parameters
callbackThe status callback.
Ghidra address:
0x26a7ac

◆ getMovideEndUrlWithAdIdFrom:adIdTo:adModel:adLocation:impressionId:creativeId:displayNumber:installFlg:

- (nullable NSString *) getMovideEndUrlWithAdIdFrom: (nullable NSString *) adIdFrom
adIdTo: (nullable NSString *) adIdTo
adModel: (nullable NSString *) adModel
adLocation: (nullable NSString *) adLocation
impressionId: (nullable NSString *) impressionId
creativeId: (nullable NSString *) creativeId
displayNumber: (nullable NSString *) displayNumber
installFlg: (nullable NSString *) installFlg 

Build the movie-end reporting URL from its request parameters.

Parameters
adIdFromThe source advert identifier.
adIdToThe destination advert identifier.
adModelThe advert-model string.
adLocationThe ad-location identifier.
impressionIdThe impression identifier.
creativeIdThe creative identifier.
displayNumberThe display-number string.
installFlgThe install-flag string.
Returns
The reporting URL, or nil when any argument is nil.
Ghidra address:
0x2714c8

◆ getTemporaryCacheWithAdModel:

- (id) getTemporaryCacheWithAdModel: (int) adModel

Return the cached banner status for adModel, expiring stale entries.

Parameters
adModelThe advert-model identifier.
Returns
The cached status object, or nil when absent or expired.
Ghidra address:
0x26dd44

◆ getUniqueAdWithAdLocation:

- (nullable id) getUniqueAdWithAdLocation: (nullable NSString *) adLocation

Return the stored unique-advert impression identifier for adLocation.

Parameters
adLocationThe ad-location identifier.
Returns
The stored impression identifier, or nil.
Ghidra address:
0x2700d0

◆ getUnreadCountWithAdModel:adLocation:callback:

- (void) getUnreadCountWithAdModel: (int) adModel
adLocation: (nullable NSString *) adLocation
callback: (nullable void(^)(NSInteger status, NSError *_Nullable error)) callback 

Query the unread advert count for adModel at adLocation.

Parameters
adModelThe advert-model identifier.
adLocationThe ad-location identifier.
callbackThe status callback.
Ghidra address:
0x26a1b8

◆ init

- (instancetype) init

Initialise the recommend core, serialising the super initialisation on its work queue.

Returns
The initialised instance.
Ghidra address:
0x268adc
Ghidra address:
0x268be8

◆ isInitialized

- (BOOL) isInitialized

Whether the recommend core is fully initialised.

Returns
YES when initializeFlg equals one.
Ghidra address:
0x268e84

◆ isInstalledAppliWithScheme:

- (BOOL) isInstalledAppliWithScheme: (nullable NSString *) scheme

Whether an application registered under scheme is installed on the device.

Parameters
schemeThe custom URL scheme to probe.
Returns
YES when the scheme can be opened.
Ghidra address:
0x268f14

◆ linkActionWithDefaultScheme:adIdTo:adType:adModel:delegate:

- (void) linkActionWithDefaultScheme: (nullable NSString *) defaultScheme
adIdTo: (nullable NSString *) adIdTo
adType: (nullable NSString *) adType
adModel: (nullable NSString *) adModel
delegate: (nullable id) delegate 

Launch the click link action for a first-party advert.

Parameters
defaultSchemeThe advert's default URL scheme.
adIdToThe destination advert identifier.
adTypeThe advert-type string.
adModelThe advert-model string.
delegateThe advert delegate.
Ghidra address:
0x26fbd4

◆ linkActionWithURL:delegate:

- (void) linkActionWithURL: (nullable NSString *) url
delegate: (nullable id) delegate 

Launch the click link action for a movie advert against a fully formed URL.

Parameters
urlThe click URL string.
delegateThe advert delegate.
Ghidra address:
0x26fe28

◆ openAdAreaWithParentView:rect:adModel:adLocation:verticalAlign:requestCode:delegate:

- (void) openAdAreaWithParentView: (nullable UIView *) parentView
rect: (CGRect) rect
adModel: (int) adModel
adLocation: (nullable NSString *) adLocation
verticalAlign: (int) verticalAlign
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Open the advert area inside parentView.

Parameters
parentViewThe view that hosts the advert area.
rectThe advert area's frame within parentView.
adModelThe advert-model identifier.
adLocationThe ad-location identifier.
verticalAlignThe vertical-alignment identifier.
requestCodeThe caller's request code.
delegateThe advert delegate.
Ghidra address:
0x26b650

◆ openAdScreenWithParentView:adModel:adLocation:verticalAlign:requestCode:delegate:

- (void) openAdScreenWithParentView: (nullable UIView *) parentView
adModel: (int) adModel
adLocation: (nullable NSString *) adLocation
verticalAlign: (int) verticalAlign
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Open the advert screen inside parentView.

Parameters
parentViewThe view that hosts the advert screen.
adModelThe advert-model identifier.
adLocationThe ad-location identifier.
verticalAlignThe vertical-alignment identifier.
requestCodeThe caller's request code.
delegateThe advert delegate.
Ghidra address:
0x26aa20

◆ openedNotice

- (void) openedNotice

Notify the delegate that the advert opened.

Ghidra address:
0x270ec8

Reimplemented from <SdkViewDelegate>.

◆ openFullViewControllerWithAdModel:adLocation:verticalAlign:requestCode:delegate:

- (void) openFullViewControllerWithAdModel: (int) adModel
adLocation: (nullable NSString *) adLocation
verticalAlign: (int) verticalAlign
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Open a full-screen advert view controller.

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

◆ openMovieViewControllerWithAdModel:adLocation:verticalAlign:requestCode:delegate:

- (void) openMovieViewControllerWithAdModel: (int) adModel
adLocation: (nullable NSString *) adLocation
verticalAlign: (int) verticalAlign
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Open a full-screen movie advert view controller.

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

◆ postAnalysisListRegistWithAdType:AdModel:adLocation:impressionId:

- (void) postAnalysisListRegistWithAdType: (int) adType
AdModel: (int) adModel
adLocation: (nullable NSString *) adLocation
impressionId: (nullable NSString *) impressionId 

Register an impression list for the displayed adverts.

Parameters
adTypeThe advert-type identifier.
adModelThe advert-model identifier.
adLocationThe ad-location identifier.
impressionIdThe impression identifier.
Ghidra address:
0x26e474

◆ redirectStartLoad:

- (BOOL) redirectStartLoad: (nullable NSURLRequest *) request

Handle a redirect while loading the click link connection.

Parameters
requestThe redirect request.
Returns
Always NO; the redirect is handled internally.
Ghidra address:
0x2703ac

Reimplemented from <ApplilinkURLConnectionDelegate>.

◆ redirectViewContollerWithRequest:

- (int) redirectViewContollerWithRequest: (nullable NSURLRequest *) request

Handle an advert-screen redirect request using the current advert parameters.

Parameters
requestThe redirect request.
Returns
The redirect outcome code.
Ghidra address:
0x26ce5c

◆ redirectWithRequest:

- (int) redirectWithRequest: (nullable NSURLRequest *) request

Handle an advert-screen redirect request with no advert parameters.

Parameters
requestThe redirect request.
Returns
The redirect outcome code.
Ghidra address:
0x26ce78

◆ redirectWithRequest:appParam:

- (int) redirectWithRequest: (nullable NSURLRequest *) request
appParam: (nullable ApplilinkParameters *) appParam 

Handle an advert-screen redirect request, dispatching Applilink deep links.

A URL under the applilink://ext-app:80 scheme is parsed into its ad identifier, country code, category id, ad type, and store id, then either launched through an external application, opened in the App Store, or forwarded to the advert screen. Ordinary URLs are handed back to the caller to load.

Parameters
requestThe redirect request; its URL may be rewritten in place.
appParamThe advert parameters to report on failure, or nil.
Returns
The redirect outcome code.
Ghidra address:
0x26ce8c

◆ releaseAdScreenViewController

- (void) releaseAdScreenViewController

Release the advert-screen view controller.

Ghidra address:
0x270460

◆ releaseInterstitialViewController

- (void) releaseInterstitialViewController

Release the full-screen (interstitial) advert view controller.

Ghidra address:
0x2704b4

◆ reloadAllAdData

- (void) reloadAllAdData

Clear and re-fetch every cached advert-data record.

Ghidra address:
0x26a9a4
Ghidra address:
0x26aa1c

◆ rotateWithInterfaceOrientation:duration:

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

Rotate any open recommend-advert screen to a new interface orientation.

Parameters
interfaceOrientationThe target UIInterfaceOrientation.
durationThe animation duration.
Ghidra address:
0x26cdc4

◆ setUniqueAdWithAdLocation:impressionId:

- (void) setUniqueAdWithAdLocation: (nullable NSString *) adLocation
impressionId: (nullable NSString *) impressionId 

Store, or clear, the unique-advert impression identifier for adLocation.

Parameters
adLocationThe ad-location identifier.
impressionIdThe impression identifier, or nil to clear it.
Ghidra address:
0x26ff34

◆ sharedInstance

+ (instancetype) sharedInstance

The shared recommend-core instance.

Returns
The singleton.
Ghidra address:
0x268dc4
Ghidra address:
0x268e08

◆ showOwnAdWithAdLocation:adModel:toAppliId:creativeId:

- (void) showOwnAdWithAdLocation: (nullable NSString *) adLocation
adModel: (int) adModel
toAppliId: (nullable NSString *) appliId
creativeId: (nullable NSString *) creativeId 

Show a first-party advert for adModel.

Parameters
adLocationThe ad-location identifier.
adModelThe advert-model identifier.
appliIdThe advert application identifier.
creativeIdThe advert creative identifier.
Ghidra address:
0x26eae8

◆ showOwnAdWithAdLocation:toAppliId:creativeId:

- (void) showOwnAdWithAdLocation: (nullable NSString *) adLocation
toAppliId: (nullable NSString *) appliId
creativeId: (nullable NSString *) creativeId 

Show a first-party advert with the default advert model.

Parameters
adLocationThe ad-location identifier.
appliIdThe advert application identifier.
creativeIdThe advert creative identifier.
Ghidra address:
0x26ea74

◆ showVideoViewWithQuery:

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

Present a video advert view for query inside the current advert-screen view.

Parameters
queryThe video request query.
Ghidra address:
0x26ccb4

◆ startedNotice

- (void) startedNotice

Notify the delegate that the advert started.

Ghidra address:
0x270e60

Reimplemented from <SdkViewDelegate>.

◆ startSessionWithCallback:

- (void) startSessionWithCallback: (nullable void(^)(NSError *_Nullable error)) callback

Start a recommend session, calling callback when it completes.

Parameters
callbackThe completion callback.
Ghidra address:
0x269948

◆ startWithCallback:

- (void) startWithCallback: (nullable void(^)(NSError *_Nullable error)) callback

Start the recommend SDK, posting the application install once per install.

Parameters
callbackThe completion callback invoked with an error, or nil on success.
Ghidra address:
0x269014

◆ touchOwnAdWithAdLocation:adModel:toAppliId:creativeId:requestCode:delegate:

- (void) touchOwnAdWithAdLocation: (nullable NSString *) adLocation
adModel: (int) adModel
toAppliId: (nullable NSString *) appliId
creativeId: (nullable NSString *) creativeId
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Register a first-party advert touch for adModel.

Parameters
adLocationThe ad-location identifier.
adModelThe advert-model identifier.
appliIdThe advert application identifier.
creativeIdThe advert creative identifier.
requestCodeThe caller's request code.
delegateThe advert delegate.
Ghidra address:
0x26f0b4

◆ touchOwnAdWithAdLocation:toAppliId:creativeId:requestCode:delegate:

- (void) touchOwnAdWithAdLocation: (nullable NSString *) adLocation
toAppliId: (nullable NSString *) appliId
creativeId: (nullable NSString *) creativeId
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Register a first-party advert touch with the default advert model.

Parameters
adLocationThe ad-location identifier.
appliIdThe advert application identifier.
creativeIdThe advert creative identifier.
requestCodeThe caller's request code.
delegateThe advert delegate.
Ghidra address:
0x26f000

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