Package-level declarations
Types
Link copied to clipboard
open class SettingsOptions @JvmOverloads constructor(var scrollDirection: PageScrollDirection, var scrollMode: PageScrollMode, var layoutMode: PageLayoutMode, var themeMode: ThemeMode, var screenTimeoutMillis: Long, val visibleItems: EnumSet<SettingsMenuItemType>, var sepia: Boolean = false) : Serializable
Data class that represents the options to be shown in the com.pspdfkit.ui.settings.SettingsDialog. It is created automatically from the values of the active com.pspdfkit.configuration.PdfConfiguration, so you do not need to build one to use the built-in settings dialog.
Properties
Functions
Link copied to clipboard
fun NutrientSettingsView(options: SettingsOptions, onOptionsChanged: (SettingsOptions) -> Unit, modifier: Modifier = Modifier, title: @Composable () -> Unit = { SettingsTitle() }, settingsItem: @Composable (type: SettingsMenuItemType, default: @Composable () -> Unit) -> Unit = { _, default -> default() })
The settings content the SDK's own settings sheet renders, as a composable you can place yourself.