Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-ui
/
org.meshtastic.core.ui.qr
/
ScannedQrCodeViewModel
Scanned
Qr
Code
View
Model
class
ScannedQrCodeViewModel
(
radioConfigRepository
:
RadioConfigRepository
,
radioController
:
RadioController
)
:
ViewModel
(
source
)
Members
Constructors
Scanned
Qr
Code
View
Model
Link copied to clipboard
constructor
(
radioConfigRepository
:
RadioConfigRepository
,
radioController
:
RadioController
)
Properties
channels
Link copied to clipboard
val
channels
:
StateFlow
<
ChannelSet
>
Functions
add
Closeable
Link copied to clipboard
expect
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
expect
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
expect
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
set
Channels
Link copied to clipboard
fun
setChannels
(
channelSet
:
ChannelSet
)
:
Job
Set the radio config (also updates our saved copy in preferences).