NodeDetailUiState

data class NodeDetailUiState(val node: Node? = null, val nodeName: UiText = UiText.DynamicString(""), val ourNode: Node? = null, val metricsState: MetricsState = MetricsState.Empty, val environmentState: EnvironmentMetricsState = EnvironmentMetricsState(), val availableLogs: Set<LogsType> = emptySet(), val lastTracerouteTime: Long? = null, val lastRequestNeighborsTime: Long? = null, val sessionStatus: SessionStatus = SessionStatus.NoSession, val isEnsuringSession: Boolean = false, val existingContactKey: String? = null)(source)

UI state for the Node Details screen.

Constructors

Link copied to clipboard
constructor(node: Node? = null, nodeName: UiText = UiText.DynamicString(""), ourNode: Node? = null, metricsState: MetricsState = MetricsState.Empty, environmentState: EnvironmentMetricsState = EnvironmentMetricsState(), availableLogs: Set<LogsType> = emptySet(), lastTracerouteTime: Long? = null, lastRequestNeighborsTime: Long? = null, sessionStatus: SessionStatus = SessionStatus.NoSession, isEnsuringSession: Boolean = false, existingContactKey: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Contact key of an existing direct-message thread with this node, or null. Held as the key rather than a flag: the computed route uses Node.channel when the node has no public key, which would open a different, empty conversation instead of the thread the message action was kept visible for.

Link copied to clipboard

True when a direct-message thread with this node already exists, keyed either legacy or PKI.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val node: Node?
Link copied to clipboard
val nodeName: UiText
Link copied to clipboard
Link copied to clipboard