Instant Pdf Ui Fragment Builder
Experimental API - Might change in the future.
Builder used for creating an InstantPdfUiFragment. Allows setting the document and all of the necessary configuration.
Functions
Builds InstantPdfUiFragment with the values provided in the InstantPdfUiFragmentBuilder.
Sets PdfActivityConfiguration to be set on the target InstantPdfUiFragment in which the document will be displayed. If null
the default configuration will be set.
Sets a custom fragment
class used for document display. The fragment
must extend InstantPdfUiFragment. If null
is passed, the default InstantPdfUiFragment will be used for document display.
Sets a custom fragment tag to be used with the internal PdfFragment. This is required when trying to host multiple fragments in the same view hierarchy.