GiniCaptureDebug

public final class GiniCaptureDebug

This class allows you to enable and disable debugging for the Gini Capture SDK.

Debugging is disabled by default.

Warning: Don't forget to disable debugging before releasing.

If debug is enabled:

  • The reviewed jpegs are written to a folder called {@code ginicapturesdk} in your app's external directory.

Functions

disable
Link copied to clipboard
static void disable()
Disables debugging for the Gini Capture SDK.
enable
Link copied to clipboard
static void enable()
Enables debugging for the Gini Capture SDK.
writeDocumentToFile
Link copied to clipboard
static void writeDocumentToFile(Context context, Document document, String suffix)
Helper for writing a document to file.