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

Forwards analytics calls to AnalysisNetworkCore, guarding the one that has a callback. More...

#include <AnalysisNetwork.h>

Inheritance diagram for AnalysisNetwork:
Collaboration diagram for AnalysisNetwork:

Class Methods

(void) + postAnalysisDataWithResultId:callback:
 Posts one analysis record, or reports that the SDK is unusable.
(void) + openExternalWebBrowser:env:
 Opens an advert in the external browser, discarding any error.
(void) + openWebBrowserWithAppliId:env:callback:
 Opens an advert for one application identifier.

Detailed Description

Forwards analytics calls to AnalysisNetworkCore, guarding the one that has a callback.

Note the guard is not applied uniformly — see +openWebBrowserWithAppliId:env:callback: .

Method Documentation

◆ openExternalWebBrowser:env:

+ (void) openExternalWebBrowser: (nullable NSString *) url
env: (nullable NSString *) env 

Opens an advert in the external browser, discarding any error.

Supplies an empty callback to the core, so a failure here is silent. Note also that this does not check whether the SDK can be used.

Parameters
urlThe advert's address.
envThe SDK environment.
Ghidra address:
0x24116c

◆ openWebBrowserWithAppliId:env:callback:

+ (void) openWebBrowserWithAppliId: (nullable NSString *) appliId
env: (nullable NSString *) env
callback: (nullable ApplilinkAnalysisCallback) callback 

Opens an advert for one application identifier.

A straight forward with no SDK-availability check, so on an unsupported OS this reaches the transport where +postAnalysisDataWithResultId:callback: would have refused.

Parameters
appliIdThe application identifier to open.
envThe SDK environment.
callbackAnswered by the core.
Ghidra address:
0x2411c4

◆ postAnalysisDataWithResultId:callback:

+ (void) postAnalysisDataWithResultId: (nullable NSString *) resultId
callback: (nullable ApplilinkAnalysisCallback) callback 

Posts one analysis record, or reports that the SDK is unusable.

The only member that consults ApplilinkConsts. When the SDK cannot be used the callback is invoked directly with error 1025, ApplilinkErrorSdkVersionNotSupported, and nothing is sent.

Parameters
resultIdThe record's identifier.
callbackAnswered with nil on success or an error on failure.
Ghidra address:
0x2410a4

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