NodeDetailViewModel

class NodeDetailViewModel(savedStateHandle: ERROR CLASS: Symbol not found for SavedStateHandle, nodeManagementActions: NodeManagementActions, nodeRequestActions: NodeRequestActions, serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, getNodeDetailsUseCase: GetNodeDetailsUseCase) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel(source)

ViewModel for the Node Details screen, coordinating data from the node database, mesh logs, and radio configuration.

Constructors

Link copied to clipboard
constructor(savedStateHandle: ERROR CLASS: Symbol not found for SavedStateHandle, nodeManagementActions: NodeManagementActions, nodeRequestActions: NodeRequestActions, serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, getNodeDetailsUseCase: GetNodeDetailsUseCase)

Properties

Link copied to clipboard
val effects: ERROR CLASS: Symbol not found for SharedFlow<org/meshtastic/feature/node/detail/NodeRequestEffect>
Link copied to clipboard
val uiState: ERROR CLASS: Symbol not found for StateFlow<org/meshtastic/feature/node/detail/NodeDetailUiState>

Primary UI state stream, combining identity, metrics, and global device metadata.

Functions

Link copied to clipboard
fun getDirectMessageRoute(node: ERROR CLASS: Symbol not found for Node, ourNode: ERROR CLASS: Symbol not found for Node??): String

Returns the type-safe navigation route for a direct message to this node.

Link copied to clipboard

Dispatches high-level node management actions like removal, muting, or favoriting.

Link copied to clipboard
fun onServiceAction(action: ERROR CLASS: Symbol not found for ServiceAction): ERROR CLASS: Unresolved name: launch
Link copied to clipboard
fun setNodeNotes(nodeNum: Int, notes: String)
Link copied to clipboard
fun start(nodeId: Int)