LiveUpdateGuard

class LiveUpdateGuard(prefs: LiveUpdatePrefs, nodes: () -> Flow<Map<Int, Node>>, selectedAddress: Flow<String?>, radioOperationLock: RadioOperationLock)(source)

Turns a Live Update off once what it shows is gone: the tracked node was deleted or ignored, or the user disconnected or switched radios. A dropped link changes neither, so the mode survives it and the notification shows the state.

Constructors

Link copied to clipboard
constructor(prefs: LiveUpdatePrefs, nodes: () -> Flow<Map<Int, Node>>, selectedAddress: Flow<String?>, radioOperationLock: RadioOperationLock)

Functions

Link copied to clipboard
suspend fun run(): Job