Instant Pdf Ui Fragment
Experimental API - Might change in the future.
Instant version of [PdfUiFragment] that supports Instant PDF documents. This fragment provides the same UI as [InstantPdfActivity] but can be embedded in any view hierarchy.
Functions
Returns the PdfDocument that is loaded into this pdf UI, or null
if no document has been loaded yet.
Returns the coordinator responsible for displaying documents and switching between multiple loaded documents.
Returns the PdfFragment that is used to show the document.
Called when authentication with Instant Server (Nutrient Document Engine) has failed.
Called when authentication with Instant Server (Nutrient Document Engine) has successfully finished.
Called when InstantPdfDocument has detected data corruption.
Called when InstantPdfDocument becomes invalid. Any future instant operations on this document will fail.
Called when the document changes its state.
Called when annotation sync has been finished with an error.
Called when annotation sync has been finished successfully.
Called when annotation sync has been started.
Returns the PdfFragment that is used to show the document. Throws an exception when PdfFragment is not yet initialized.
Loads a new Instant document in this activity and replaces the existing one. This method may only be called if PdfUiFragment.onSaveInstanceState has not been called or an exception will be thrown, since after that call state loss could occur.
Loads a new document in this activity and replaces the existing one. This method may only be called if onSaveInstanceState has not been called or an exception will be thrown, since after that call state loss could occur.
Loads a new document in this pdf UI and replaces the existing one. This method may only be called if onSaveInstanceState has not been called or an exception will be thrown, since after that call state loss could occur.
Loads a new document in this activity and replaces the existing one. This method may only be called if onSaveInstanceState has not been called or an exception will be thrown, since after that call state loss could occur.
Loads a new document in this activity and replaces the existing one. This method may only be called if onSaveInstanceState has not been called or an exception will be thrown, since after that call state loss could occur.