analyze

public abstract CancellationToken analyze(@NonNull() LinkedHashMap<String, Integer> giniApiDocumentIdRotationMap, @NonNull() GiniCaptureNetworkCallback<AnalysisResult, Error> callback)

Called when a document needs to be analyzed by the Gini API.

The documents were already uploaded and only the Gini API document ids of documents are passed in along with the user applied document rotations.

Return

a CancellationToken to be used for requesting analysis cancellation

Parameters

giniApiDocumentIdRotationMap

a map of Gini API document ids and the user applied document rotations

callback

a callback implementation to return the outcome of the analysis