XmlMultiPageDocument

A document consisting of multiple XML documents. This is created to conform to what is already supported for other file types

Properties

Link copied to clipboard

Functions

Link copied to clipboard
public Unit addDocument(@NonNull() XmlDocument document)
Link copied to clipboard
public Unit addDocuments(@NonNull() List<XmlDocument> documents)
Link copied to clipboard

Internal use only.

Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard

Generate metadata to be sent to backend when creating partial document.

Link copied to clipboard

The contents of a document, if the document was loaded into memory.

Link copied to clipboard
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 Boolean hasDocumentError(ImageDocument imageDocument)
Link copied to clipboard
public Integer hashCode()
Link copied to clipboard

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

Documents like PDFs are not reviewable and can be passed directly to the Analysis Screen. Reviewable documents have to be shown in the Review Screen first before passing it on to the Analysis Screen.

Link copied to clipboard
public Unit loadData(@NonNull() Context context, @NonNull() AsyncCallback<ByteArray, Exception> callback)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setData(ByteArray data)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String toString()
Link copied to clipboard
Link copied to clipboard
public Unit unloadData()
Link copied to clipboard
public Unit writeToParcel(Parcel dest, Integer flags)

Internal use only.