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

The recommend network's advertising-identifier record. More...

#include <RecommendAdId.h>

Inheritance diagram for RecommendAdId:
Collaboration diagram for RecommendAdId:

Instance Methods

(instancetype) - initWithCountryCode:categoryId:
 Initialises the record for a country code and category id.
(nullable NSDictionary *) - getWithCountryCode:categoryId:error:
 Loads the stored advertising identifier for a country code and category id.
(RecommendAdMutationResult) - setWithAdIdFrom:countryCode:categoryId:adType:error:
 Stores the advertising identifier for an inbound advert redirect.
(BOOL) - deleteWithCountryCode:categoryId:error:
 Deletes the stored advertising identifier for a country code and category id.

Detailed Description

The recommend network's advertising-identifier record.

Method Documentation

◆ deleteWithCountryCode:categoryId:error:

- (BOOL) deleteWithCountryCode: (nullable NSString *) countryCode
categoryId: (nullable NSString *) categoryId
error: (NSError *_Nullable *_Nullable) error 

Deletes the stored advertising identifier for a country code and category id.

Parameters
countryCodeThe country code.
categoryIdThe advert category identifier.
errorOn failure, the localised error; may be nullptr.
Returns
NO when the udid or pasteboard is unavailable, otherwise YES .
Ghidra address:
0x22c5a4

◆ getWithCountryCode:categoryId:error:

- (nullable NSDictionary *) getWithCountryCode: (nullable NSString *) countryCode
categoryId: (nullable NSString *) categoryId
error: (NSError *_Nullable *_Nullable) error 

Loads the stored advertising identifier for a country code and category id.

Parameters
countryCodeThe country code.
categoryIdThe advert category identifier.
errorOn failure, the localised error; may be nullptr.
Returns
The stored record, or nil.
Ghidra address:
0x22bad8

◆ initWithCountryCode:categoryId:

- (instancetype) initWithCountryCode: (nullable NSString *) countryCode
categoryId: (nullable NSString *) categoryId 

Initialises the record for a country code and category id.

Parameters
countryCodeThe country code.
categoryIdThe advert category identifier.
Returns
The initialised record.
Ghidra address:
0x22ba00

◆ setWithAdIdFrom:countryCode:categoryId:adType:error:

- (RecommendAdMutationResult) setWithAdIdFrom: (nullable NSString *) adIdFrom
countryCode: (nullable NSString *) countryCode
categoryId: (nullable NSString *) categoryId
adType: (nullable NSString *) adType
error: (NSError *_Nullable *_Nullable) error 

Stores the advertising identifier for an inbound advert redirect.

Parameters
adIdFromThe source advertising identifier.
countryCodeThe country code.
categoryIdThe advert category identifier.
adTypeThe advert-type string.
errorOn failure, the localised error; may be nullptr.
Returns
In patched builds, YES on success and NO on failure.
Ghidra address:
0x22be90

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