DocumentData

data class DocumentData(val isLoading: Boolean = false, val isLoaded: Boolean = false, val title: String = "", val uid: String = "", val pageCount: Int = 0, val permanentFileId: ByteArray? = null, val changingFileId: ByteArray? = null, val getPageSize: (Int) -> ERROR CLASS: Symbol not found for Size?? = { null })

Immutable state class providing specific details of the document.

Constructors

Link copied to clipboard
constructor(isLoading: Boolean = false, isLoaded: Boolean = false, title: String = "", uid: String = "", pageCount: Int = 0, permanentFileId: ByteArray? = null, changingFileId: ByteArray? = null, getPageSize: (Int) -> ERROR CLASS: Symbol not found for Size?? = { null })

Properties

Link copied to clipboard

returns document change id in bytes

Link copied to clipboard
val getPageSize: (Int) -> ERROR CLASS: Symbol not found for Size??

Pass custom function to retrieve the Size of the specified page.

Link copied to clipboard

Set to true when the document is loaded and ready to be displayed.

Link copied to clipboard

Set to true when the document is loading in the backend core library.

Link copied to clipboard

returns the total number of pages in the document

Link copied to clipboard

returns unique document id in bytes

Link copied to clipboard

returns the title of the document

Link copied to clipboard
val uid: String

returns the unique identifier of the document