SoundSettingsViewModel
State holder for the Sound Settings screen.
Exposes reactive sound configuration and action methods for the UI layer. The default implementation is DefaultSoundSettingsViewModel.
This can be used standalone (without NavigationControlsState) to build a custom sound settings UI on top of a NavigationSettingsRepository.
See also
Inheritors
Properties
Set of currently enabled camera-warning events.
Set of currently enabled non-camera event warnings.
Master output volume in the range 0..100.
Whether the speed-exceeding warning is enabled.
Speed-exceeding threshold in km/h (negative values represent driving below the limit).
Functions
Toggle a single camera event on or off.
Replace the full set of enabled camera events.
Toggle a single non-camera event on or off.
Replace the full set of enabled non-camera events.
Set the master sound mode. Switching modes also resets the camera/event toggles and speed-exceeding flag to mode defaults.
Set master output volume. The value is coerced into 0..100.
Enable or disable the speed-exceeding warning.
Set the speed-exceeding threshold in km/h.