SettingsViewModel

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

Constructors

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

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class SettingsUiState(var beaconDescriptions: List<Int> = 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
val restartAppEvent: SharedFlow<Unit>
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
Link copied to clipboard
fun updateLanguage(localContext: MainActivity)