Package-level declarations

Types

Link copied to clipboard
data class LoadingIndicatorStyle(val enabled: Boolean = true, @ColorInt val color: Int = Color.LTGRAY, @ColorInt val trackColor: Int = Color.TRANSPARENT, val heightDp: Float = 1.0f) : Parcelable

Appearance of the loading indicator shown at the bottom of each page while the page is loading or progressively rendering, and at the bottom of the fragment while the document itself is loading.

Link copied to clipboard
data class PdfConfiguration(val scrollDirection: PageScrollDirection, val scrollMode: PageScrollMode, val fitMode: PageFitMode, val layoutMode: PageLayoutMode, val themeMode: ThemeMode, val isFirstPageAlwaysSingle: Boolean, val showGapBetweenPages: Boolean, val isScrollbarsEnabled: Boolean, val backgroundColor: Int, val loadingIndicatorStyle: LoadingIndicatorStyle, val memoryCacheSize: Int, val isInvertColors: Boolean, val automaticallyInvertColorsForNightTheme: Boolean, val isToGrayscale: Boolean, val startZoomScale: Float, val maxZoomScale: Float, val shouldZoomOutBounce: Boolean, val isTextSelectionEnabled: Boolean, val isFormEditingEnabled: Boolean, val isAutoSelectNextFormElementEnabled: Boolean, val isFormElementDateAndTimePickerEnabled: Boolean, val isAnnotationEditingEnabled: Boolean, val isAnnotationRotationEnabled: Boolean, val isContentEditingEnabled: Boolean, val isMeasurementsEnabled: Boolean, val isAnnotationLimitedToPageBounds: Boolean, val useRectangleSelectionForMarkupAnnotations: Boolean, val editableAnnotationTypes: List<AnnotationType>, val enabledAnnotationTools: List<AnnotationTool>, val selectedAnnotationResizeEnabled: Boolean, val selectedAnnotationResizeGuidesEnabled: Boolean, val selectedAnnotationFontScalingOnResizeEnabled: Boolean, val resizeGuideSnapAllowance: Float, val guideLineIntervals: List<Float>, val isAnnotationInspectorEnabled: Boolean, val excludedAnnotationTypes: List<AnnotationType>, val isAutosaveEnabled: Boolean, val pagePadding: Int, val isLastViewedPageRestorationEnabled: Boolean, val isAutomaticLinkGenerationEnabled: Boolean, val isCopyPasteEnabled: Boolean, val enabledCopyPasteFeatures: EnumSet<CopyPasteFeatures>, val isUndoEnabled: Boolean, val isRedoEnabled: Boolean, val annotationReplyFeatures: AnnotationReplyFeatures, val fixedFullPageRenderPixelCount: Int?, val isMultithreadedRenderingEnabled: Boolean, val signaturePickerOrientation: SignaturePickerOrientation, val signatureSavingStrategy: SignatureSavingStrategy, val signatureColorOptions: SignatureColorOptions, val signatureCreationModes: List<SignatureCreationMode>, val isNoteAnnotationNoZoomHandlingEnabled: Boolean, val isJavaScriptEnabled: Boolean, val isTextSelectionPopupToolbarEnabled: Boolean, val isAnnotationPopupToolbarEnabled: Boolean, val enabledShareFeatures: EnumSet<ShareFeatures>, val allowMultipleBookmarksPerPage: Boolean, val scrollOnEdgeTapEnabled: Boolean, val animateScrollOnEdgeTaps: Boolean, val scrollOnEdgeTapMargin: Int, val isMagnifierEnabled: Boolean, val showSignHereOverlay: Boolean, val showNoteEditorForNewNoteAnnotations: Boolean, val enableStylusOnDetection: Boolean, val outlineElementState: OutlineElementState, val useCubicInterpolationForInkAnnotations: Boolean, val isAiAssistantEnabled: Boolean, val annotationsBlockLinks: Boolean) : Parcelable

Configuration for the core of PSPDFKit rendering engine. To create the configuration use the Builder.