SettingsViewModel

class SettingsViewModel(soundscapeServiceConnection: SoundscapeServiceConnection, val appContext: Context) : ViewModel

Constructors

Link copied to clipboard
constructor(soundscapeServiceConnection: SoundscapeServiceConnection, appContext: Context)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class SettingsUiState(var beaconDescriptions: List<StringResource> = emptyList(), var beaconValues: List<String> = emptyList(), var engineTypes: List<String> = emptyList(), var voiceTypes: List<String> = emptyList(), var storages: List<StorageUtils.StorageSpace> = emptyList(), var currentStoragePath: String = "", var selectedStorageIndex: Int = -1)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun startBeaconPreview(beaconType: String)
Link copied to clipboard
fun stopBeaconPreview(commit: Boolean, chosenBeaconType: String?)
Link copied to clipboard