|
JubeatPlus 3.9.11
|
Forwards analytics calls to AnalysisNetworkCore, guarding the one that has a callback.
More...
#include <AnalysisNetwork.h>


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. | |
Forwards analytics calls to AnalysisNetworkCore, guarding the one that has a callback.
Note the guard is not applied uniformly — see +openWebBrowserWithAppliId:env:callback: .
| + (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.
| url | The advert's address. |
| env | The SDK environment. |
| + (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.
| appliId | The application identifier to open. |
| env | The SDK environment. |
| callback | Answered by the core. |
| + (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.
| resultId | The record's identifier. |
| callback | Answered with nil on success or an error on failure. |