Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
feature-node
/
org.meshtastic.feature.node.detail
/
NodeLiveUpdateViewModel
Node
Live
Update
View
Model
class
NodeLiveUpdateViewModel
(
prefs
:
LiveUpdatePrefs
)
:
ViewModel
(
source
)
The node detail shortcut into the Live Update: track this node, or stop tracking it.
Members
Constructors
Node
Live
Update
View
Model
Link copied to clipboard
constructor
(
prefs
:
LiveUpdatePrefs
)
Properties
mode
Link copied to clipboard
val
mode
:
StateFlow
<
LiveUpdateMode
>
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
Tracking
Link copied to clipboard
fun
setTracking
(
nodeNum
:
Int
,
track
:
Boolean
)