app
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
app
app
/
org.scottishtecharmy.soundscape.viewmodels
/
SettingsViewModel
Settings
View
Model
class
SettingsViewModel
@
Inject
constructor
(
soundscapeServiceConnection
:
SoundscapeServiceConnection
)
:
ViewModel
Members
Constructors
Settings
View
Model
Link copied to clipboard
@
Inject
constructor
(
soundscapeServiceConnection
:
SoundscapeServiceConnection
)
Types
Companion
Link copied to clipboard
object
Companion
Settings
Ui
State
Link copied to clipboard
data
class
SettingsUiState
(
var
beaconTypes
:
List
<
Int
>
=
emptyList()
,
var
engineTypes
:
List
<
String
>
=
emptyList()
,
var
voiceTypes
:
List
<
String
>
=
emptyList()
)
Properties
state
Link copied to clipboard
val
state
:
StateFlow
<
SettingsViewModel.SettingsUiState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
update
Language
Link copied to clipboard
fun
updateLanguage
(
localContext
:
MainActivity
)