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

Answers questions about what the SDK can do on this device and stores its configuration. More...

#include <ApplilinkConsts.h>

Inheritance diagram for ApplilinkConsts:
Collaboration diagram for ApplilinkConsts:

Class Methods

(nullable NSString *) + getUrl:
 The SSL base URL with a path appended.
(void) + setUserId:
 Sets the user identifier (encrypting it), or clears it when nil, and flags a re-login.
(void) + loggedInReward
 Clears the reward re-login flag.
(void) + loggedInRecommend
 Clears the recommend re-login flag.
(void) + setAppliCountryCode:
 Sets the country code and locks out later overrides.
(nullable NSString *) + getCacheAdId
 The decrypted cached advertising identifier, or nil.
(void) + setCacheAdId:
 Stores the advertising identifier, encrypted, in NSUserDefaults .
(void) + setAppInstallList:
 Stores the application-install list (encrypted to a temporary file) with a one-hour expiry, updating the advertising id from the entry matching the app's own URL scheme.
(nullable id) + appInstallList
 Loads the application-install list to refresh the advertising id; always returns nil.
(void) + setTemplateList:
 Stores the template list, encrypted, in NSUserDefaults .
(nullable id) + templateList
 The decrypted stored template list, or nil.
(void) + clearData
 Clears the SDK's persistent defaults domain.
(BOOL) + checkUseSDKWithAdModel:adLocation:verticalAlign:requestCode:delegate:
 Whether the SDK may serve a request, reporting a failure to the delegate when not.

Properties

NSString * envServer
 The server environment name, from NSUserDefaults .
NSString * baseUrlSsl
 The HTTPS base every applilink web-API path is appended to.
NSString * envStr
 A short environment tag (release/staging/develop/sandbox/localhost).
NSString * cookieDomain
 The cookie domain for the current environment.
NSString * appliId
 The applilink application identifier.
BOOL canUseApplilinkSdk
 Whether the SDK is usable at all on this OS version (iOS 6.1+).
NSString * version
 The SDK version string.
NSString * userId
 The cached, decrypted user identifier.
BOOL isNeedRewardLogin
 Whether a reward re-login is needed.
BOOL isNeedRecommendLogin
 Whether a recommend re-login is needed.
NSString * categoryId
 The advert category identifier.
NSString * adId
 The advertising identifier.
NSString * countryCode
 The country code.

Detailed Description

Answers questions about what the SDK can do on this device and stores its configuration.

Method Documentation

◆ appInstallList

+ (id) appInstallList

Loads the application-install list to refresh the advertising id; always returns nil.

Returns
nil (the binary returns nil after refreshing the advertising id).
Ghidra address:
0x22ff14
Ghidra address:
0x22ff14

◆ checkUseSDKWithAdModel:adLocation:verticalAlign:requestCode:delegate:

+ (BOOL) checkUseSDKWithAdModel: (int) adModel
adLocation: (nullable NSString *) adLocation
verticalAlign: (int) verticalAlign
requestCode: (nullable id) requestCode
delegate: (nullable id) delegate 

Whether the SDK may serve a request, reporting a failure to the delegate when not.

Parameters
adModelThe advert model.
adLocationThe advert location.
verticalAlignThe vertical alignment.
requestCodeThe request code.
delegateThe delegate told of a refusal.
Returns
YES when the SDK is usable and ad tracking is enabled.
Ghidra address:
0x230a30

◆ clearData

+ (void) clearData

Clears the SDK's persistent defaults domain.

The binary declares a BOOL return but computes none.

Ghidra address:
0x230950
Ghidra address:
0x230950

◆ getCacheAdId

+ (NSString *) getCacheAdId

The decrypted cached advertising identifier, or nil.

Returns
The advertising identifier.
Ghidra address:
0x22f68c
Ghidra address:
0x22f68c

◆ getUrl:

+ (nullable NSString *) getUrl: (nullable NSString *) path

The SSL base URL with a path appended.

Parameters
pathThe path to append.
Returns
The full URL string.
Ghidra address:
0x22e904

◆ loggedInRecommend

+ (void) loggedInRecommend

Clears the recommend re-login flag.

The binary declares a BOOL return but computes none.

Ghidra address:
0x22f3bc
Ghidra address:
0x22f3bc

◆ loggedInReward

+ (void) loggedInReward

Clears the reward re-login flag.

The binary declares a BOOL return but computes none.

Ghidra address:
0x22f328
Ghidra address:
0x22f328

◆ setAppInstallList:

+ (void) setAppInstallList: (nullable NSArray *) appInstallList

Stores the application-install list (encrypted to a temporary file) with a one-hour expiry, updating the advertising id from the entry matching the app's own URL scheme.

Parameters
appInstallListThe install list, or nil to clear it.
Ghidra address:
0x22f938

◆ setAppliCountryCode:

+ (void) setAppliCountryCode: (nullable NSString *) appliCountryCode

Sets the country code and locks out later overrides.

Parameters
appliCountryCodeThe SDK-supplied country code.
Ghidra address:
0x22f450

◆ setCacheAdId:

+ (void) setCacheAdId: (nullable NSString *) adId

Stores the advertising identifier, encrypted, in NSUserDefaults .

Parameters
adIdThe advertising identifier.
Ghidra address:
0x22f7f4

◆ setTemplateList:

+ (void) setTemplateList: (nullable NSDictionary *) templateList

Stores the template list, encrypted, in NSUserDefaults .

Parameters
templateListThe template list, or nil to clear it.
Ghidra address:
0x2305bc

◆ setUserId:

+ (void) setUserId: (nullable NSString *) userId

Sets the user identifier (encrypting it), or clears it when nil, and flags a re-login.

Parameters
userIdThe user identifier, or nil to clear it.
Ghidra address:
0x22ed0c

◆ templateList

+ (id) templateList

The decrypted stored template list, or nil.

Returns
The template list.
Ghidra address:
0x2307c8
Ghidra address:
0x2307c8

Property Documentation

◆ adId

- (NSString *) adId
readwritenonatomicassign

The advertising identifier.

Ghidra address:
0x22f634 (getter), 0x22f554 (setter)
Ghidra address:
0x22f634

◆ appliId

- (NSString *) appliId
readnonatomicassign

The applilink application identifier.

Ghidra address:
0x22ebe0

◆ baseUrlSsl

- (NSString *) baseUrlSsl
readnonatomicassign

The HTTPS base every applilink web-API path is appended to.

Ghidra address:
0x22e7d8

◆ canUseApplilinkSdk

- (BOOL) canUseApplilinkSdk
readnonatomicassign

Whether the SDK is usable at all on this OS version (iOS 6.1+).

Ghidra address:
0x22ec4c

◆ categoryId

- (NSString *) categoryId
readwritenonatomicassign

The advert category identifier.

Ghidra address:
0x22f544 (getter), 0x22f518 (setter)
Ghidra address:
0x22f544

◆ cookieDomain

- (NSString *) cookieDomain
readnonatomicassign

The cookie domain for the current environment.

Ghidra address:
0x22eacc

◆ countryCode

- (NSString *) countryCode
readwritenonatomicassign

The country code.

Ghidra address:
0x22f508 (getter), 0x22f4a8 (setter)
Ghidra address:
0x22f508

◆ envServer

- (NSString *) envServer
readnonatomicassign

The server environment name, from NSUserDefaults .

Ghidra address:
0x22e76c

◆ envStr

- (NSString *) envStr
readnonatomicassign

A short environment tag (release/staging/develop/sandbox/localhost).

Ghidra address:
0x22e994

◆ isNeedRecommendLogin

- (BOOL) isNeedRecommendLogin
readnonatomicassign

Whether a recommend re-login is needed.

Ghidra address:
0x22f2b4

◆ isNeedRewardLogin

- (BOOL) isNeedRewardLogin
readnonatomicassign

Whether a reward re-login is needed.

Ghidra address:
0x22f240

◆ userId

- (NSString *) userId
readwritenonatomicassign

The cached, decrypted user identifier.

Ghidra address:
0x22f0dc (getter), 0x22ed0c (setter)
Ghidra address:
0x22f0dc

◆ version

- (NSString *) version
readnonatomicassign

The SDK version string.

Ghidra address:
0x22ece0

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