createCompositeDocument

Task<DocumentcreateCompositeDocument(@NonNull() List<Document> documents, @Nullable() DocumentTaskManager.DocumentType documentType)

Creates a new Gini composite document.

Return

A Task which will resolve to the Document instance of the freshly created document.

Parameters

documents

A list of partial documents which should be part of a multi-page document

documentType

Optional a document type hint. See the documentation for the document type hints for possible values

Task<DocumentcreateCompositeDocument(@NonNull() LinkedHashMap<Document, Integer> documentRotationMap, @Nullable() DocumentTaskManager.DocumentType documentType)

Creates a new Gini composite document. The input Map must contain the partial documents as keys. These will be part of the multi-page document. The value for each partial document key is the amount in degrees the document has been rotated by the user.

Return

A Task which will resolve to the Document instance of the freshly created document.

Parameters

documentRotationMap

A map of partial documents and their rotation in degrees

documentType

Optional a document type hint. See the documentation for the document type hints for possible values