DocumentManager
interface DocumentManager
Root component providing protected storage management components
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Create custom document type.
Link copied to clipboard
Link copied to clipboard
abstract fun createPagingUploadedDocumentsFlow(documentTypeId: String): Flow<PagingData<DocumentItem>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The method deletes the document from the document wallet. Returns the result of deleting the document. Before deleting a document, stops all tasks associated with the documents being deleted.
Link copied to clipboard
The method deletes the documents from the document wallet. Returns the result of deleting documents. Before deleting a documents, stops all tasks associated with the documents being deleted.
Link copied to clipboard
Delete document type.
Link copied to clipboard
Edit custom document type.
Link copied to clipboard
abstract suspend fun enqueueToDownload(documentId: Long, size: DocumentSize, priority: DownloadPriority, cacheMode: CacheMode?, targetDirUri: Uri? = null)
Adds document with documentId and size to the download queue.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun uploadDocuments(uriList: List<Uri>, documentTypeId: String, deleteFileAfterComplete: Boolean = false)