delete

abstract CancellationToken delete(@NonNull() String giniApiDocumentId, @NonNull() GiniCaptureNetworkCallback<Result, Error> callback)

Called when a document needs to be deleted from the Gini API.

Return

a CancellationToken to be used for requesting cancellation of the deletion

Parameters

giniApiDocumentId

id of the document received when it was uploaded to the Gini API

callback

a callback implementation to return the outcome of the deletion