CompassUiState

data class CompassUiState(val targetName: String = "", val targetColor: ERROR CLASS: Symbol not found for Color = Color(DEFAULT_TARGET_COLOR_HEX), val heading: Float? = null, val bearing: Float? = null, val distanceText: String? = null, val bearingText: String? = null, val lastUpdateText: String? = null, val positionTimeSec: Long? = null, val warnings: List<CompassWarning> = emptyList(), val errorRadiusText: String? = null, val angularErrorDeg: Float? = null, val isAligned: Boolean = false, val hasTargetPosition: Boolean = true, val displayUnits: ERROR CLASS: Symbol not found for Config.DisplayConfig.DisplayUnits = Config.DisplayConfig.DisplayUnits.METRIC, val targetAltitude: Int? = null)(source)

Render-ready state for the compass sheet (heading, bearing, distances, and warnings).

Constructors

Link copied to clipboard
constructor(targetName: String = "", targetColor: ERROR CLASS: Symbol not found for Color = Color(DEFAULT_TARGET_COLOR_HEX), heading: Float? = null, bearing: Float? = null, distanceText: String? = null, bearingText: String? = null, lastUpdateText: String? = null, positionTimeSec: Long? = null, warnings: List<CompassWarning> = emptyList(), errorRadiusText: String? = null, angularErrorDeg: Float? = null, isAligned: Boolean = false, hasTargetPosition: Boolean = true, displayUnits: ERROR CLASS: Symbol not found for Config.DisplayConfig.DisplayUnits = Config.DisplayConfig.DisplayUnits.METRIC, targetAltitude: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val displayUnits: ERROR CLASS: Symbol not found for Config.DisplayConfig.DisplayUnits
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
val targetColor: ERROR CLASS: Symbol not found for Color
Link copied to clipboard
Link copied to clipboard