|
JubeatPlus 3.9.11
|
Reconstructed interface for the applilink advert SDK's ApplilinkWebAPI transport layer.
More...
import <Foundation/Foundation.h>

Go to the source code of this file.
Classes | |
| class | ApplilinkWebAPI |
| Applilink SDK HTTP transport, retry policy, and response parsing. More... | |
Typedefs | |
| typedef void(^ | ApplilinkWebAPIFailedBlock) (id _Nullable request, NSError *_Nullable error) |
| Block invoked when an applilink request fails. | |
Variables | |
| NS_ASSUME_NONNULL_BEGIN typedef void(^ | ApplilinkWebAPIFinishedBlock )(id _Nullable request, id _Nullable result) |
| Block invoked when an applilink request finishes successfully. | |
Reconstructed interface for the applilink advert SDK's ApplilinkWebAPI transport layer.
Reconstructed from Ghidra program Jubeat (class ApplilinkWebAPI, image base 0x100000000). All
ApplilinkWebAPI is the SDK's low-level HTTP transport: it assembles GET and POST NSMutableURLRequest objects from a base URL and a parameter dictionary (percent-joining each key=value pair and expanding array values into repeated key[]=value pairs), dispatches them synchronously or asynchronously through NSURLConnection , applies a bounded timeout-retry policy, parses the JSON response body with NSJSONSerialization , and maps transport and parse failures onto ApplilinkNetworkError codes. A second response path parses the contents server's newline-delimited body. The class carries a single retry counter as instance state; the remaining behaviour is expressed through class methods that wrap a throwaway instance.
This is Konami's applilink SDK. This build diverges from the other shipped build of the same class: the asynchronous completion handler runs a JSON null-scrub pass and persists the scrubbed body to NSUserDefaults , the callbacks receive the sent request rather than the caller's user info, the contents-server success path returns the accumulated body without invoking the finished block, and the synchronous retry loop compares the connection error code against an unusual sentinel rather than NSURLErrorTimedOut .
| typedef void(^ ApplilinkWebAPIFailedBlock) (id _Nullable request, NSError *_Nullable error) |
Block invoked when an applilink request fails.
| request | The request that was sent. |
| error | The failure, an NSError in the ApplilinkErrorDomain or NSURLErrorDomain domain. |
| NS_ASSUME_NONNULL_BEGIN typedef void(^ ApplilinkWebAPIFinishedBlock) (id _Nullable request, id _Nullable result) | ( | id _Nullable | request, |
| id _Nullable | result ) |
Block invoked when an applilink request finishes successfully.
| request | The request that was sent. |
| result | The parsed response, an NSDictionary for the JSON path. |