Sdk Configuration
data class SdkConfiguration(val scrollDirection: PageScrollDirection? = PageScrollDirection.HORIZONTAL, val thumbnailGridEnabled: Boolean = false, val thumbnailBarMode: ThumbnailBarMode? = ThumbnailBarMode.THUMBNAIL_BAR_MODE_FLOATING, val immersiveMode: Boolean = true, val selectedIndex: Int = 0, val pageFitMode: PageFitMode = PageFitMode.FIT_TO_SCREEN, val pageScrollMode: PageScrollMode = PageScrollMode.PER_PAGE, @FloatRange(from = 1.0, to = 15.0 ) val startZoom: Float = 1.0f, val pageZoom: PageZoom = PageZoom(), val scrollbarConfiguration: ScrollbarConfiguration = ScrollbarConfiguration())
Stores the configuration for the SDK.
Constructors
Link copied to clipboard
constructor(scrollDirection: PageScrollDirection? = PageScrollDirection.HORIZONTAL, thumbnailGridEnabled: Boolean = false, thumbnailBarMode: ThumbnailBarMode? = ThumbnailBarMode.THUMBNAIL_BAR_MODE_FLOATING, immersiveMode: Boolean = true, selectedIndex: Int = 0, pageFitMode: PageFitMode = PageFitMode.FIT_TO_SCREEN, pageScrollMode: PageScrollMode = PageScrollMode.PER_PAGE, @FloatRange(from = 1.0, to = 15.0 ) startZoom: Float = 1.0f, pageZoom: PageZoom = PageZoom(), scrollbarConfiguration: ScrollbarConfiguration = ScrollbarConfiguration())
Properties
Link copied to clipboard
Whether the immersive mode is enabled.
Link copied to clipboard
How the page should fit the screen.
Link copied to clipboard
Page scrolling mode (Per page or continuous).
Link copied to clipboard
scrollbar configuration
Link copied to clipboard
Direction of the page scroll action.
Link copied to clipboard
Index of the first selected page.
Link copied to clipboard
How the thumbnail bar is displayed.
Link copied to clipboard
Whether the thumbnail grid is enabled.