Package com.pspdfkit.ui.settings
Class SettingsViewModel
-
- All Implemented Interfaces:
public final class SettingsViewModel extends ViewModel
ViewModel for the settings dialog.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SettingsViewModel.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StateFlow<SettingsState>
state
public final static SettingsViewModel.Companion
Companion
-
Constructor Summary
Constructors Constructor Description SettingsViewModel()
-
Method Summary
Modifier and Type Method Description final StateFlow<SettingsState>
getState()
final Unit
init(SettingsOptions settingsOptions, SettingsOptions currentOptions, Context context)
final Unit
updateOptions(SettingsOptions settingsOptions)
-
-
Method Detail
-
getState
final StateFlow<SettingsState> getState()
-
init
final Unit init(SettingsOptions settingsOptions, SettingsOptions currentOptions, Context context)
-
updateOptions
final Unit updateOptions(SettingsOptions settingsOptions)
-
-
-
-