|
JubeatPlus 3.9.11
|
Reconstructed interface for the applilink recommend SDK's RecommendWebAPI web-API facade.
More...
import <Foundation/Foundation.h>
Go to the source code of this file.
Classes | |
| class | RecommendWebAPI |
| The recommend network's web-API facade. More... | |
Reconstructed interface for the applilink recommend SDK's RecommendWebAPI web-API facade.
RecommendWebAPI is the recommend network's high-level web API. Each request method builds a parameter dictionary, merges it with the user-agent parameters through ApplilinkUtilities, and dispatches a single asynchronous request through ApplilinkWebAPI +requestAsynchronousWithURL:method:parameters:userInfo:tag:cachePolicy: timeout:retry:finishedBlock:failedBlock:, against an "/ad/..." path appended to ApplilinkConsts.baseUrlSsl. Each request pairs a finished handler that validates the JSON response (an NSDictionary with status true and error_code equal to the success sentinel), maps the various error_code and kind values onto ApplilinkNetworkError codes, and forwards the outcome to the caller's callback, with a failed handler that either forwards the transport error or drops it. Two request builders return a ready-made NSURLRequest for a first-party click or application-start advert. The advert-status cache is persisted in NSUserDefaults under the ApplilinkRecommend.bannerInfo default, and the advert-external detail freshness stamp under ApplilinkRecommend.adDetail. The class is stateless: it exposes only class methods. The applilink SDK ships as a closed third-party library. Reconstructed from Ghidra program Jubeat, image base 0x100000000.