QRCodeDocument

public final class QRCodeDocument extends GiniCaptureDocument

Contains payment information required for transactions that were parsed from a document with a QR Code.

Payment data from BezahlCode and EPC069-12 (Stuzza (AT) and GiroCode (DE)) QRCodes are detected and read.

Get the contents with (getData) and upload it to the Gini API to get the extractions.

Functions

Link copied to clipboard
public abstract int describeContents()

public int describeContents()
Internal use only.
Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public static QRCodeDocument fromPaymentQRCodeData(@NonNull() PaymentQRCodeData paymentQRCodeData)
Creates an instance with the provided QR Code data.
Link copied to clipboard
public synchronized Array<byte> getData()
The contents of a document, if the document was loaded into memory.
Link copied to clipboard
public String getId()
Retrieve the document's unique id.
Link copied to clipboard
Retrieve with which method the document has been imported.
Link copied to clipboard
The Intent with which the imported document was received.
Link copied to clipboard
Retrieve the document's mime type (media type).
Link copied to clipboard
Retrieve from which source the document originates from.
Link copied to clipboard
Get the concrete document type.
Link copied to clipboard
public Uri getUri()
The Uri of the imported document.
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public boolean isImported()
Document is imported if it was picked from another app from the Camera Screen's document upload button or if a file was passed to the Gini Capture SDK through the client application from another app.
Link copied to clipboard
public boolean isReviewable()
Documents like PDFs are not reviewable and can be passed directly to the Analysis Screen.
Link copied to clipboard
public synchronized void loadData(@NonNull() Context context, @NonNull() AsyncCallback<Array<byte>, Exception> callback)
Link copied to clipboard
public synchronized void setData(Array<byte> data)
Link copied to clipboard
Link copied to clipboard
public String toString()
Link copied to clipboard
public synchronized void unloadData()
Link copied to clipboard
public abstract void writeToParcel(Parcel p, int p1)

public void writeToParcel(@NonNull() Parcel dest, int flags)
Internal use only.

Properties

Link copied to clipboard
public final static int CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
Internal use only.
Internal use only.
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE