NodeManagementActions

open class NodeManagementActions(nodeRepository: NodeRepository, radioController: RadioController, alertManager: AlertManager)(source)

Constructors

Link copied to clipboard
constructor(nodeRepository: NodeRepository, radioController: RadioController, alertManager: AlertManager)

Functions

Link copied to clipboard
open suspend fun removeNode(nodeNum: Int)
Link copied to clipboard
open fun requestFavoriteNode(scope: CoroutineScope, node: Node)
Link copied to clipboard
open fun requestIgnoreNode(scope: CoroutineScope, node: Node)
Link copied to clipboard
open fun requestMuteNode(scope: CoroutineScope, node: Node)
Link copied to clipboard
open fun requestRemoveNode(scope: CoroutineScope, node: Node, onAfterRemove: () -> Unit = {})
Link copied to clipboard
open suspend fun setFavorite(nodeNum: Int, favorite: Boolean)
Link copied to clipboard
open suspend fun setIgnored(nodeNum: Int, ignored: Boolean)
Link copied to clipboard
open suspend fun setNodeNotes(nodeNum: Int, notes: String)
Link copied to clipboard
open suspend fun toggleMuted(nodeNum: Int)