QRCodeDocument

public final class QRCodeDocument extends GiniVisionDocument

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

describeContents
Link copied to clipboard
abstract int describeContents()
int describeContents()
Internal use only.
equals
Link copied to clipboard
boolean equals(Object o)
fromPaymentQRCodeData
Link copied to clipboard
static QRCodeDocument fromPaymentQRCodeData(@NonNull() PaymentQRCodeData paymentQRCodeData)
Creates an instance with the provided QR Code data.
getData
Link copied to clipboard
synchronized Array<byte> getData()
The contents of a document, if the document was loaded into memory.
getId
Link copied to clipboard
String getId()
Retrieve the document's unique id.
getImportMethod
Link copied to clipboard
Document.ImportMethod getImportMethod()
Retrieve with which method the document has been imported.
getIntent
Link copied to clipboard
Intent getIntent()
The Intent with which the imported document was received.
getJpeg
Link copied to clipboard
Array<byte> getJpeg()
The image of a document as a JPEG.
getMimeType
Link copied to clipboard
String getMimeType()
Retrieve the document's mime type (media type).
getParcelableMemoryCacheTag
Link copied to clipboard
String getParcelableMemoryCacheTag()
getRotationForDisplay
Link copied to clipboard
int getRotationForDisplay()
The amount of clockwise rotation needed to display the image in the correct orientation.
getSource
Link copied to clipboard
Document.Source getSource()
Retrieve from which source the document originates from.
getType
Link copied to clipboard
Document.Type getType()
Get the concrete document type.
getUri
Link copied to clipboard
Uri getUri()
The Uri of the imported document.
hashCode
Link copied to clipboard
int hashCode()
isImported
Link copied to clipboard
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 Vision Library through the client application from another app.
isReviewable
Link copied to clipboard
boolean isReviewable()
Documents like PDFs are not reviewable and can be passed directly to the Analysis Screen.
loadData
Link copied to clipboard
synchronized void loadData(@NonNull() Context context, @NonNull() AsyncCallback<Array<byte>, Exception> callback)
setData
Link copied to clipboard
synchronized void setData(Array<byte> data)
setParcelableMemoryCacheTag
Link copied to clipboard
void setParcelableMemoryCacheTag(@NonNull() String tag)
toString
Link copied to clipboard
String toString()
unloadData
Link copied to clipboard
synchronized void unloadData()
writeToParcel
Link copied to clipboard
abstract void writeToParcel(Parcel p, int p1)
void writeToParcel(@NonNull() Parcel dest, int flags)
Internal use only.

Properties

CREATOR
Link copied to clipboard
public final static Parcelable.Creator<QRCodeDocumentCREATOR
Internal use only.