The recommend network's web-API facade.
More...
#include <RecommendWebAPI.h>
The recommend network's web-API facade.
◆ allAdDataWithCallBack:
| + (void) allAdDataWithCallBack: |
|
(nullable void(^)(id _Nullable data, NSError *_Nullable error)) | callback |
|
Fetch every advert-data record for display and forward the raw response.
- Parameters
-
| callback | The completion callback invoked with the response data and an error. |
- Ghidra address:
- 0x265d5c
◆ appliListWithParameters:callBack:
| + (void) appliListWithParameters: |
|
(nullable NSDictionary *) | parameters |
| callBack: |
|
(nullable void(^)(id _Nullable list, NSError *_Nullable error)) | callBack |
Fetch the installed-application list for the given parameters, forcing the test flag.
- Parameters
-
| parameters | The base request parameters. |
| callBack | The completion callback invoked with the list and an error. |
- Ghidra address:
- 0x2629d4
◆ appStartWithAdIdFrom:adIdTo:adType:
| + (nullable NSURLRequest *) appStartWithAdIdFrom: |
|
(nullable NSString *) | adIdFrom |
| adIdTo: |
|
(nullable NSString *) | adIdTo |
| adType: |
|
(int) | adType |
Build the application-start request for a first-party advert.
- Parameters
-
| adIdFrom | The source advertising identifier. |
| adIdTo | The destination advertising identifier. |
| adType | The advert-type identifier. |
- Returns
- The application-start request.
- Ghidra address:
- 0x266820
◆ appStartWithAdIdFrom:adIdTo:adType:callback:
| + (void) appStartWithAdIdFrom: |
|
(nullable NSString *) | adIdFrom |
| adIdTo: |
|
(nullable NSString *) | adIdTo |
| adType: |
|
(int) | adType |
| callback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
Register an application start for a first-party advert.
- Parameters
-
| adIdFrom | The source advertising identifier. |
| adIdTo | The destination advertising identifier. |
| adType | The advert-type identifier. |
| callback | The completion callback invoked with an error. |
- Ghidra address:
- 0x265910
◆ checkLoginWithCallback:
| + (void) checkLoginWithCallback: |
|
(nullable void(^)(BOOL loginStatus, BOOL userIdPresent, NSError *_Nullable error)) | callback |
|
Check whether the recommend session is still logged in.
When ApplilinkConsts reports a fresh login is required, the callback is invoked immediately; otherwise the login-status endpoint is queried.
- Parameters
-
| callback | The completion callback invoked with the login state, a secondary flag, and an error. |
- Ghidra address:
- 0x261104
◆ clickRegistWithAdIdFrom:adIdTo:adModel:
| + (nullable NSURLRequest *) clickRegistWithAdIdFrom: |
|
(nullable NSString *) | adIdFrom |
| adIdTo: |
|
(nullable NSString *) | adIdTo |
| adModel: |
|
(int) | adModel |
Build the click-registration request for a first-party advert.
- Parameters
-
| adIdFrom | The source advertising identifier. |
| adIdTo | The destination advertising identifier. |
| adModel | The advert-model identifier. |
- Returns
- The click-registration request.
- Ghidra address:
- 0x2665e0
◆ clickRegistWithAdIdFrom:adIdTo:adModel:callback:
| + (void) clickRegistWithAdIdFrom: |
|
(nullable NSString *) | adIdFrom |
| adIdTo: |
|
(nullable NSString *) | adIdTo |
| adModel: |
|
(int) | adModel |
| callback: |
|
(nullable void(^)(id _Nullable location, NSError *_Nullable error)) | callback |
Register a click for a first-party advert and return its resolved location.
- Parameters
-
| adIdFrom | The source advertising identifier. |
| adIdTo | The destination advertising identifier. |
| adModel | The advert-model identifier. |
| callback | The completion callback invoked with the resolved location and an error. |
- Ghidra address:
- 0x26542c
◆ getAdDetailWithCallback:
| + (void) getAdDetailWithCallback: |
|
(nullable void(^)(id _Nullable categoryId, id _Nullable countryCode, NSError *_Nullable error)) | callback |
|
Fetch the advert-external detail, refreshing the cached category and country codes.
When the cached detail is still valid the cached category and country codes are returned without a network request.
- Parameters
-
| callback | The completion callback invoked with the category identifier, country code, and an error. |
- Ghidra address:
- 0x261afc
◆ getBannerDetailWithAdModel:callback:
| + (void) getBannerDetailWithAdModel: |
|
(int) | adModel |
| callback: |
|
(nullable void(^)(NSInteger status, NSError *_Nullable error)) | callback |
Fetch the banner-detail display status for an advert model.
When the per-model cache holds an available banner the cached status is returned without a network request.
- Parameters
-
| adModel | The advert-model identifier. |
| callback | The completion callback invoked with the display status and an error. |
- Ghidra address:
- 0x263624
◆ getPreInfoWithAdModel:adLocation:callback:
| + (void) getPreInfoWithAdModel: |
|
(int) | adModel |
| adLocation: |
|
(nullable NSString *) | adLocation |
| callback: |
|
(nullable void(^)(NSDictionary *_Nullable status, NSError *_Nullable error)) | callback |
Fetch the pre-info display status for an advert model at an ad location.
- Parameters
-
| adModel | The advert-model identifier. |
| adLocation | The ad-location identifier. |
| callback | The completion callback invoked with the status dictionary and an error. |
- Ghidra address:
- 0x2645c4
◆ getTemporaryCacheWithAdModel:
| + (id) getTemporaryCacheWithAdModel: |
|
(int) | adModel |
|
Read the still-valid cached display status for an advert model.
An expired entry is removed from the cache and nil is returned.
- Parameters
-
| adModel | The advert-model identifier used as the cache key. |
- Returns
- The cached status, or
nil when absent or expired.
- Ghidra address:
- 0x2650f4
◆ getUnreadCountWithAdModel:adLocation:callback:
| + (void) getUnreadCountWithAdModel: |
|
(int) | adModel |
| adLocation: |
|
(nullable NSString *) | adLocation |
| callback: |
|
(nullable void(^)(NSInteger status, NSError *_Nullable error)) | callback |
Fetch the unread advert count for an advert model at an ad location.
- Parameters
-
| adModel | The advert-model identifier. |
| adLocation | The ad-location identifier. |
| callback | The completion callback invoked with the count and an error. |
- Ghidra address:
- 0x2640e4
◆ installAppliListWithCallBack:
| + (void) installAppliListWithCallBack: |
|
(nullable void(^)(id _Nullable list, NSError *_Nullable error)) | callback |
|
Fetch the installed-application list and store it on ApplilinkConsts.
- Parameters
-
| callback | The completion callback invoked with the list and an error. |
- Ghidra address:
- 0x26237c
◆ layoutIndexWithCallback:
| + (void) layoutIndexWithCallback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
|
Fetch the recommend layout index and store the template list on ApplilinkConsts.
- Parameters
-
| callback | The completion callback invoked with an error. |
- Ghidra address:
- 0x26625c
◆ postApplicationInstallWithAdIdFrom:categoryId:adType:priority:callback:
| + (void) postApplicationInstallWithAdIdFrom: |
|
(nullable NSString *) | adIdFrom |
| categoryId: |
|
(nullable NSString *) | categoryId |
| adType: |
|
(nullable NSString *) | adType |
| priority: |
|
(int) | priority |
| callback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
Post the application-install record for the current advertising identifier.
- Parameters
-
| adIdFrom | The source advertising identifier. |
| categoryId | The advert category identifier. |
| adType | The advert-type string. |
| priority | The install priority; zero skips the UDID-parameter requirement check. |
| callback | The completion callback invoked with an error. |
- Ghidra address:
- 0x262f78
◆ readRegistWithAdType:adIdList:callback:
| + (void) readRegistWithAdType: |
|
(int) | adType |
| adIdList: |
|
(nullable NSArray *) | adIdList |
| callback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
Register a read for an advert type across a list of advertising identifiers.
- Parameters
-
| adType | The advert-type identifier; zero omits the advert-type parameter. |
| adIdList | The advertising identifiers to mark read. |
| callback | The completion callback invoked with an error. |
- Ghidra address:
- 0x263ca8
◆ setTemporaryCacheWithAdModel:value:expiration:
| + (void) setTemporaryCacheWithAdModel: |
|
(int) | adModel |
| value: |
|
(NSInteger) | value |
| expiration: |
|
(NSInteger) | expiration |
Persist the display-status cache entry for an advert model with an expiry.
- Parameters
-
| adModel | The advert-model identifier used as the cache key. |
| value | The status value to cache. |
| expiration | The expiry, in seconds from now; zero caches for one second. |
- Ghidra address:
- 0x264cf0
◆ startLoginWithCallback:
| + (void) startLoginWithCallback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
|
Start a recommend login for the stored user identifier.
- Parameters
-
| callback | The completion callback invoked with an error. |
- Ghidra address:
- 0x26156c
The documentation for this class was generated from the following files: