PdfNavigatorFactory

Factory of the PDF navigator and related components.

Parameters

publication

PDF publication to render in the navigator.

pdfEngineProvider

provider for third-party PDF engine adapter.

Constructors

Link copied to clipboard
constructor(publication: Publication, pdfEngineProvider: PdfEngineProvider<S, P, E>)

Functions

Link copied to clipboard
fun createFragmentFactory(initialLocator: Locator? = null, initialPreferences: P? = null, listener: PdfNavigatorFragment.Listener? = null): FragmentFactory

Creates a factory for PdfNavigatorFragment.

Link copied to clipboard
fun createPreferencesEditor(initialPreferences: P): E

Creates a preferences editor for publication with initialPreferences.