submitDetections

Submits any pending SDK detection to the Sentiance API.

This method will bypass any network quota limitation set for the SDK. A typical use case would be when the enclosing app determines (via getDiskQuotaUsage or diskQuotaStatus) that there are too many detections on disk that have not yet been submitted.

Throws

if the SDK is not initialized.


Deprecated

Deprecated: use submitDetections instead.

Submits the detections to the API. This will bypass any network quota limitation.

A typical use case of this method would be when the enclosing app determines (via getDiskQuotaUsage or diskQuotaStatus) that there are too many detections on disk that have not been able to be sent.

Note: calling this method on an uninitialized SDK will throw an SdkException.

Parameters

callback

A callback invoked with the result.