app
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
app
app
/
com.example.clientapplication.ui.language
/
LanguageViewModel
Language
View
Model
class
LanguageViewModel
:
ViewModel
Members
Constructors
Language
View
Model
Link copied to clipboard
constructor
(
)
Properties
error
Message
Link copied to clipboard
val
errorMessage
:
State
<
String
?
>
is
Loading
Link copied to clipboard
val
isLoading
:
State
<
Boolean
>
languages
Link copied to clipboard
val
languages
:
StateFlow
<
List
<
String
>
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
clear
Error
Link copied to clipboard
fun
clearError
(
)
create
Session
Link copied to clipboard
fun
createSession
(
language
:
String
,
onSuccess
:
(
)
->
Unit
)
fetch
Languages
Link copied to clipboard
fun
fetchLanguages
(
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
join
Session
Link copied to clipboard
fun
joinSession
(
selectedLanguage
:
String
,
qrData
:
QrCodeData
,
onSuccess
:
(
)
->
Unit
)
on
Delete
Clicked
Link copied to clipboard
fun
onDeleteClicked
(
onCompleteNavigation
:
(
)
->
Unit
)
on
Leave
Clicked
Link copied to clipboard
fun
onLeaveClicked
(
onCompleteNavigation
:
(
)
->
Unit
)