Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
feature-messaging
/
org.meshtastic.feature.messaging
/
QuickChatViewModel
Quick
Chat
View
Model
class
QuickChatViewModel
(
quickChatActionRepository
:
QuickChatActionRepository
)
:
ViewModel
(
source
)
Members
Constructors
Quick
Chat
View
Model
Link copied to clipboard
constructor
(
quickChatActionRepository
:
QuickChatActionRepository
)
Properties
quick
Chat
Actions
Link copied to clipboard
val
quickChatActions
:
StateFlow
<
List
<
QuickChatAction
>
>
Functions
add
Closeable
Link copied to clipboard
expect
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
expect
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
add
Quick
Chat
Action
Link copied to clipboard
fun
addQuickChatAction
(
action
:
QuickChatAction
)
:
Job
delete
Quick
Chat
Action
Link copied to clipboard
fun
deleteQuickChatAction
(
action
:
QuickChatAction
)
:
Job
get
Closeable
Link copied to clipboard
expect
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
update
Action
Positions
Link copied to clipboard
fun
updateActionPositions
(
actions
:
List
<
QuickChatAction
>
)