The reward network's web-API client.
More...
#include <RewardWebAPI.h>
The reward network's web-API client.
◆ allInstallFlgWithCallback:
| + (void) allInstallFlgWithCallback: |
|
(nullable void(^)(NSInteger flg, NSError *_Nullable error)) | callback |
|
Fetches the all-install flag, caching it.
- Parameters
-
| callback | Invoked with the flag and an optional error. |
- Ghidra address:
- 0x255ad0
◆ appliIdListWithType:callback:
| + (void) appliIdListWithType: |
|
(int) | type |
| callback: |
|
(nullable void(^)(NSDictionary *_Nullable result, NSError *_Nullable error)) | callback |
Fetches the reward application-id list of a type.
- Parameters
-
| type | The list type. |
| callback | Invoked with the result dictionary and an optional error. |
- Ghidra address:
- 0x255704
◆ appListWithCampaignId:inCompany:offset:limit:callback:
| + (void) appListWithCampaignId: |
|
(nullable NSString *) | campaignId |
| inCompany: |
|
(nullable NSString *) | company |
| offset: |
|
(nullable NSString *) | offset |
| limit: |
|
(nullable NSString *) | limit |
| callback: |
|
(nullable void(^)(NSDictionary *_Nullable result, NSError *_Nullable error)) | callback |
Fetches the reward application list.
- Parameters
-
| campaignId | The campaign identifier. |
| company | The company filter. |
| offset | The result offset. |
| limit | The result limit. |
| callback | Invoked with the result dictionary and an optional error. |
- Ghidra address:
- 0x255340
◆ bannerInfoWithBlock:
| + (void) bannerInfoWithBlock: |
|
(nullable void(^)(NSDictionary *_Nullable result, NSError *_Nullable error)) | block |
|
Fetches the reward banner detail.
- Parameters
-
| block | Invoked with the result dictionary and an optional error. |
- Ghidra address:
- 0x256adc
◆ checkLoginWithBlock:
| + (void) checkLoginWithBlock: |
|
(nullable void(^)(BOOL valid, NSError *_Nullable error)) | block |
|
Checks the reward login status.
- Parameters
-
| block | Invoked with whether the login is valid and an optional error. |
- Ghidra address:
- 0x2547c8
◆ getPreInfoWithCallback:
| + (void) getPreInfoWithCallback: |
|
(nullable void(^)(NSInteger flg, NSError *_Nullable error)) | callback |
|
Fetches the pre-info display flag, caching it.
- Parameters
-
| callback | Invoked with the flag and an optional error. |
- Ghidra address:
- 0x256044
◆ postApplicationInstallWithPriority:callback:
| + (void) postApplicationInstallWithPriority: |
|
(int) | priority |
| callback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
Posts the application-install registration for a UDID priority.
- Parameters
-
| priority | The UDID priority (0 normal, 1 three-kind retry, 2 pasteboard). |
| callback | Invoked with an error, or nil on success. |
- Ghidra address:
- 0x253fd4
◆ postAppliInstallReportWithAppliList:callback:
| + (void) postAppliInstallReportWithAppliList: |
|
(nullable NSArray *) | appliList |
| callback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
Posts an install report, paging the application list in chunks of ten.
- Parameters
-
| appliList | The installed application identifiers. |
| callback | Invoked with an error, or nil on success. |
- Ghidra address:
- 0x256588
◆ setSignatureWithParameters:
| + (void) setSignatureWithParameters: |
|
(nullable NSMutableDictionary *) | parameters |
|
Adds a SHA-256 signature over the sorted, joined parameters to a request dictionary.
- Parameters
-
| parameters | The request parameters to sign in place. |
- Ghidra address:
- 0x256e64
◆ setTemporaryCacheWithKey:value:expiration:
| + (void) setTemporaryCacheWithKey: |
|
(nullable NSString *) | key |
| value: |
|
(nullable id) | value |
| expiration: |
|
(NSInteger) | expiration |
Archives a value with an expiry into NSUserDefaults under a key.
- Parameters
-
| key | The defaults key. |
| value | The value to cache. |
| expiration | The lifetime in seconds, or 0 for one second. |
- Ghidra address:
- 0x257324
◆ startLoginWithUserId:withPriority:callback:
| + (void) startLoginWithUserId: |
|
(nullable NSString *) | userId |
| withPriority: |
|
(int) | priority |
| callback: |
|
(nullable void(^)(NSError *_Nullable error)) | callback |
Starts a reward login for a user id at a UDID priority.
- Parameters
-
| userId | The user identifier. |
| priority | The UDID priority. |
| callback | Invoked with an error, or nil on success. |
- Ghidra address:
- 0x254bac
The documentation for this class was generated from the following file: