Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
feature-settings
/
org.meshtastic.feature.settings
/
DeviceLinkDirectoryViewModel
Device
Link
Directory
View
Model
class
DeviceLinkDirectoryViewModel
(
deviceLinkRepository
:
DeviceLinkRepository
)
:
ViewModel
(
source
)
Backs the Settings "Device Links" directory: all imported msh.to links, sorted by short code.
Members
Constructors
Device
Link
Directory
View
Model
Link copied to clipboard
constructor
(
deviceLinkRepository
:
DeviceLinkRepository
)
Properties
links
Link copied to clipboard
val
links
:
StateFlow
<
List
<
DeviceLink
>
>
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
?