public final class GiniVisionDebug
extends java.lang.Object
This class allows you to enable and disable debugging for the Gini Vision Library.
Debugging is disabled by default.
Warning: Don't forget to disable debugging before releasing.
If debug is enabled:
ginivisionlib
in your app's external directory.
Modifier and Type | Method and Description |
---|---|
static void |
disable()
Disables debugging for the Gini Vision Library.
|
static void |
enable()
Enables debugging for the Gini Vision Library.
|
static void |
writeDocumentToFile(Context context,
Document document,
java.lang.String suffix)
Helper for writing a document to file.
|
public static void enable()
Enables debugging for the Gini Vision Library.
public static void disable()
Disables debugging for the Gini Vision Library.
public static void writeDocumentToFile(Context context, Document document, java.lang.String suffix)
Helper for writing a document to file. Has no effect if debugging is disabled.
The filename consists of a timestamp concatenated with the suffix. Ex.: if suffix is "_original" then 1469541253_original.jpeg
Destination directory is ginivisionlib
inside your apps external files directory: /sdcard/Android/data/your.app.id/files/ginivisionlib/