Sdk Configuration
data class SdkConfiguration(val scrollDirection: ERROR CLASS: Symbol not found for PageScrollDirection?? = PageScrollDirection.HORIZONTAL, val thumbnailGridEnabled: Boolean = false, val thumbnailBarMode: ERROR CLASS: Symbol not found for ThumbnailBarMode?? = ThumbnailBarMode.THUMBNAIL_BAR_MODE_FLOATING, val immersiveMode: Boolean = false, val selectedIndex: Int = 0, val pageFitMode: ERROR CLASS: Symbol not found for PageFitMode = PageFitMode.FIT_TO_SCREEN, val pageScrollMode: ERROR CLASS: Symbol not found for PageScrollMode = PageScrollMode.PER_PAGE, @FloatRange(from = 1.0, to = 15.0 ) val startZoom: Float = 1.0f, val pageZoom: PageZoom = PageZoom(), val searchConfiguration: TextSearchConfiguration? = TextSearchConfiguration(), val scrollbarConfiguration: ScrollbarConfiguration = ScrollbarConfiguration(), val isAiAssistantEnabled: Boolean = false)
Stores the configuration for the SDK.
Constructors
Link copied to clipboard
constructor(scrollDirection: ERROR CLASS: Symbol not found for PageScrollDirection?? = PageScrollDirection.HORIZONTAL, thumbnailGridEnabled: Boolean = false, thumbnailBarMode: ERROR CLASS: Symbol not found for ThumbnailBarMode?? = ThumbnailBarMode.THUMBNAIL_BAR_MODE_FLOATING, immersiveMode: Boolean = false, selectedIndex: Int = 0, pageFitMode: ERROR CLASS: Symbol not found for PageFitMode = PageFitMode.FIT_TO_SCREEN, pageScrollMode: ERROR CLASS: Symbol not found for PageScrollMode = PageScrollMode.PER_PAGE, @FloatRange(from = 1.0, to = 15.0 ) startZoom: Float = 1.0f, pageZoom: PageZoom = PageZoom(), searchConfiguration: TextSearchConfiguration? = TextSearchConfiguration(), scrollbarConfiguration: ScrollbarConfiguration = ScrollbarConfiguration(), isAiAssistantEnabled: Boolean = false)
Properties
Link copied to clipboard
Whether the immersive mode is enabled.
Link copied to clipboard
Indicates whether AiAssistant 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
Search type for the pdf text search feature. May be null to deactivate search
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.