LocalStatsWidgetUiState

data class LocalStatsWidgetUiState(val connectionState: ConnectionState = ConnectionState.Disconnected, val isConnecting: Boolean = false, val showContent: Boolean = false, val nodeShortName: String? = null, val nodeColors: Pair<Int, Int>? = null, val batteryLevel: Int = 0, val hasBattery: Boolean = false, val batteryProgress: Float = 0.0f, val channelUtilization: Float = 0.0f, val channelUtilizationProgress: Float = 0.0f, val airUtilization: Float = 0.0f, val airUtilizationProgress: Float = 0.0f, val hasStats: Boolean = false, val numPacketsTx: Int = 0, val numPacketsRx: Int = 0, val numRxDupe: Int = 0, val numTxRelay: Int = 0, val numTxRelayCanceled: Int = 0, val noiseFloor: Int = 0, val numPacketsRxBad: Int = 0, val numTxDropped: Int = 0, val heapFreeBytes: Int = 0, val heapTotalBytes: Int = 0, val totalNodes: Int = 0, val onlineNodes: Int = 0, val uptimeSecs: Long = 0, val updateTimeMillis: Long = 0)(source)

Constructors

Link copied to clipboard
constructor(connectionState: ConnectionState = ConnectionState.Disconnected, isConnecting: Boolean = false, showContent: Boolean = false, nodeShortName: String? = null, nodeColors: Pair<Int, Int>? = null, batteryLevel: Int = 0, hasBattery: Boolean = false, batteryProgress: Float = 0.0f, channelUtilization: Float = 0.0f, channelUtilizationProgress: Float = 0.0f, airUtilization: Float = 0.0f, airUtilizationProgress: Float = 0.0f, hasStats: Boolean = false, numPacketsTx: Int = 0, numPacketsRx: Int = 0, numRxDupe: Int = 0, numTxRelay: Int = 0, numTxRelayCanceled: Int = 0, noiseFloor: Int = 0, numPacketsRxBad: Int = 0, numTxDropped: Int = 0, heapFreeBytes: Int = 0, heapTotalBytes: Int = 0, totalNodes: Int = 0, onlineNodes: Int = 0, uptimeSecs: Long = 0, updateTimeMillis: Long = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard