PdfActivityIntentBuilder

class PdfActivityIntentBuilder : BasePdfUiBuilder<T>

Builder used for creating an intent for starting PdfActivity. Allows setting the document and all of the necessary configuration such as document sources, passwords, etc.

Functions

Link copied to clipboard
Sets a custom activity class used for document display.
Link copied to clipboard
open fun build(): Intent
Builds Intent with the values provided in the PdfActivityIntentBuilder.
Link copied to clipboard
Sets PdfActivityConfiguration to be set on the target PdfActivity in which the document(s) will be displayed.
Link copied to clipboard
Sets list of content signatures for when the opened document is merged from several documents or for a single document.
Link copied to clipboard
Creates a new intent builder with no document, this is useful if you provide custom UI inside your PdfActivity subclass to open new documents.
Link copied to clipboard
Creates a new intent builder with document being loaded from data provider.
Link copied to clipboard
Creates a new intent builder with document describe by DocumentDescriptor.
Link copied to clipboard
Creates a new intent builder with an image document being loaded from data provider.
Link copied to clipboard
Creates a new intent builder with image document being loaded from Uri.
Link copied to clipboard
Creates a new intent builder with document being loaded from URI.
Link copied to clipboard
Sets list of passwords for when the opened document is merged from several documents or for a single document.
Link copied to clipboard
open fun visibleDocument(visibleDocumentIndex: Int): PdfActivityIntentBuilder
Sets index of the document that should be visible after opening the activity.