Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class LegendData(val nameRes: Int, val color: Color, val isLine: Boolean = false, val environmentMetric: Environment? = null)

Properties

Link copied to clipboard
const val BYTES_IN_GB: Double
Link copied to clipboard
const val BYTES_IN_KB: Double = 1024.0
Link copied to clipboard
const val BYTES_IN_MB: Double
Link copied to clipboard
const val DEG_D: Double = 1.0E-7
Link copied to clipboard
const val HEADING_DEG: Double = 1.0E-5

Functions

Link copied to clipboard
Link copied to clipboard
fun decodePaxFromLog(log: MeshLog): <Error class: unknown class>?
Link copied to clipboard
fun DeviceMetricsScreen(viewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
fun EnvironmentMetricsChart(modifier: Modifier = Modifier, telemetries: List<<Error class: unknown class>>, graphData: EnvironmentGraphingData, selectedTime: TimeFrame, promptInfoDialog: () -> Unit)
Link copied to clipboard
fun EnvironmentMetricsScreen(viewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
fun formatBytes(bytes: Long, decimalPlaces: Int = 2): String
Link copied to clipboard
fun formatPositionTime(position: <Error class: unknown class>, dateFormat: DateFormat): String
Link copied to clipboard
fun HorizontalLinesOverlay(modifier: Modifier, lineColors: List<Color>)

Draws chart lines with respect to the Y-axis.

Link copied to clipboard
fun HostMetricsItem(modifier: Modifier = Modifier, telemetry: <Error class: unknown class>)
Link copied to clipboard
fun HostMetricsLogScreen(metricsViewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
fun Legend(legendData: List<LegendData>, displayInfoIcon: Boolean = true, promptInfoDialog: () -> Unit = {})

Creates the legend that identifies the colors used for the graph.

Link copied to clipboard
fun LegendInfoDialog(pairedRes: List<Pair<Int, Int>>, onDismiss: () -> Unit)

Displays a dialog with information about the legend items.

Link copied to clipboard
fun LogLine(modifier: Modifier = Modifier, label: String, value: String)
Link copied to clipboard
fun minMaxGraphVoltage(valueMin: Float, valueMax: Float): Pair<Float, Float>
Link copied to clipboard
fun PaxMetricsItem(log: MeshLog, pax: <Error class: unknown class>, dateFormat: DateFormat)
Link copied to clipboard
fun PaxMetricsScreen(metricsViewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
fun PositionItem(compactWidth: Boolean, position: <Error class: unknown class>, dateFormat: DateFormat, system: <Error class: unknown class>)
Link copied to clipboard
fun PositionLogScreen(viewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
fun PowerMetricsScreen(viewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
fun SignalMetricsScreen(viewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
fun TimeAxisOverlay(modifier: Modifier, oldest: Int, newest: Int, timeInterval: Long)

Draws the vertical lines to help the user relate the plotted data within a time frame.

Link copied to clipboard
fun TimeLabels(oldest: Int, newest: Int)

Draws the oldest and newest times for the respective telemetry data. Expects time in seconds.

Link copied to clipboard
fun TracerouteLogScreen(modifier: Modifier = Modifier, viewModel: MetricsViewModel = hiltViewModel())
Link copied to clipboard
Link copied to clipboard
fun YAxisLabels(modifier: Modifier, labelColor: Color, minValue: Float, maxValue: Float)

Draws labels on the Y-axis with respect to the range. Defined by (maxValue - minValue).