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

The companion-application reward-advert facade over the Applilink SDK. More...

#include <RewardNetwork.h>

Inheritance diagram for RewardNetwork:
Collaboration diagram for RewardNetwork:

Class Methods

(void) + openAdScreenWithAdLocation:requestCode:delegate:
 Opens the reward-advert screen at the given ad location without a parent view.
(void) + openAdScreenWithParentView:adLocation:delegate:
 Opens the reward-advert screen inside parentView at the given ad location.
(void) + openAdScreenWithParentView:adLocation:requestCode:delegate:
 Opens the reward-advert screen inside parentView with a request code.
(void) + closeAdScreen
 Closes the reward-advert screen.
(void) + allInstallFlgWithCallback:
 Queries the all-install flag asynchronously.
(void) + getAdDisplayStatusWithCallback:
 Queries the ad-display status asynchronously.
(void) + getAdStatusWithBlock:
 Queries the reward-advert status asynchronously.
(void) + setNavigationBarHidden:
 Hides or shows the reward-advert navigation bar.
(nullable NSString *) + getNavigationTitle
 The localised reward app-list navigation-bar title.

Detailed Description

The companion-application reward-advert facade over the Applilink SDK.

Every method forwards to [RewardCore sharedInstance] once ApplilinkConsts reports the SDK is usable on this device.

Method Documentation

◆ allInstallFlgWithCallback:

+ (void) allInstallFlgWithCallback: (nullable void(^)(NSInteger flg, NSError *_Nullable error)) callback

Queries the all-install flag asynchronously.

Parameters
callbackThe completion block, called with the all-install flag and an optional error.
Ghidra address:
0x24f8ec

◆ closeAdScreen

+ (void) closeAdScreen

Closes the reward-advert screen.

Ghidra address:
0x24f874

◆ getAdDisplayStatusWithCallback:

+ (void) getAdDisplayStatusWithCallback: (nullable void(^)(NSDictionary *_Nullable status, NSError *_Nullable error)) callback

Queries the ad-display status asynchronously.

Parameters
callbackThe completion block, called with a status dictionary (keyed "allInstallFlg" and "bannerDisplayStatus") and an optional error.
Ghidra address:
0x24fa4c

◆ getAdStatusWithBlock:

+ (void) getAdStatusWithBlock: (nullable void(^)(NSInteger status, NSError *_Nullable error)) block

Queries the reward-advert status asynchronously.

Parameters
blockThe completion block, called with the ad-status code and an optional error.
Ghidra address:
0x24fc80

◆ getNavigationTitle

+ (NSString *) getNavigationTitle

The localised reward app-list navigation-bar title.

Returns
The localised title from the reward message bundle.
Ghidra address:
0x24fe38
Ghidra address:
0x24fe38

◆ openAdScreenWithAdLocation:requestCode:delegate:

+ (void) openAdScreenWithAdLocation: (nullable NSString *) adLocation
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Opens the reward-advert screen at the given ad location without a parent view.

Parameters
adLocationThe ad-location identifier, such as "ADL_TOP".
requestCodeThe request code forwarded to the SDK.
delegateThe advert-screen delegate.
Ghidra address:
0x24f590

◆ openAdScreenWithParentView:adLocation:delegate:

+ (void) openAdScreenWithParentView: (nullable UIView *) parentView
adLocation: (nullable NSString *) adLocation
delegate: (nullable id) delegate 

Opens the reward-advert screen inside parentView at the given ad location.

Parameters
parentViewThe view that hosts the advert screen.
adLocationThe ad-location identifier.
delegateThe advert-screen delegate.
Ghidra address:
0x24f604

◆ openAdScreenWithParentView:adLocation:requestCode:delegate:

+ (void) openAdScreenWithParentView: (nullable UIView *) parentView
adLocation: (nullable NSString *) adLocation
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Opens the reward-advert screen inside parentView with a request code.

Parameters
parentViewThe view that hosts the advert screen.
adLocationThe ad-location identifier.
requestCodeThe request code forwarded to the SDK.
delegateThe advert-screen delegate.
Ghidra address:
0x24f678

◆ setNavigationBarHidden:

+ (void) setNavigationBarHidden: (BOOL) navigationBarHidden

Hides or shows the reward-advert navigation bar.

Parameters
navigationBarHiddenWhether the navigation bar should be hidden.
Ghidra address:
0x24fde0
Ghidra address:
0x24fde0

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