Package-level declarations

Types

Link copied to clipboard

A global manager for displaying alerts across the application. This allows ViewModels to trigger alerts without direct dependencies on UI components.

Link copied to clipboard
interface BarcodeScanner
Link copied to clipboard
fun interface ComposableContent
Link copied to clipboard
interface MapViewProvider

Interface for providing a flavored MapView. This allows the map feature to be decoupled from specific map implementations (Google Maps vs osmdroid).

Link copied to clipboard
data class TracerouteMapOverlayInsets(val overlayAlignment: ERROR CLASS: Symbol not found for Alignment = Alignment.BottomCenter, val overlayPadding: ERROR CLASS: Symbol not found for PaddingValues = PaddingValues(bottom = 16.dp), val contentHorizontalAlignment: ERROR CLASS: Symbol not found for Alignment.Horizontal = Alignment.CenterHorizontally)

Properties

Link copied to clipboard
val ERROR CLASS: Symbol not found for ChannelOption.labelRes: ERROR CLASS: Symbol not found for StringResource
Link copied to clipboard
val LocalAnalyticsIntroProvider: ERROR CLASS: Unresolved name: compositionLocalOf
Link copied to clipboard
val LocalBarcodeScannerProvider: ERROR CLASS: Unresolved name: compositionLocalOf
Link copied to clipboard
val LocalInlineMapProvider: ERROR CLASS: Unresolved name: compositionLocalOf
Link copied to clipboard
val LocalMapViewProvider: ERROR CLASS: Unresolved name: compositionLocalOf
Link copied to clipboard
val LocalNfcScannerProvider: ERROR CLASS: Unresolved name: compositionLocalOf
Link copied to clipboard
val LocalTracerouteMapOverlayInsetsProvider: ERROR CLASS: Unresolved name: compositionLocalOf

Functions

Link copied to clipboard

A helper component that renders an AlertManager.AlertData using the same logic as MainScreen.

Link copied to clipboard
expect fun annotatedStringFromHtml(html: String, linkStyles: ERROR CLASS: Symbol not found for TextLinkStyles?? = null): ERROR CLASS: Symbol not found for AnnotatedString

Parses HTML into an AnnotatedString with platform-appropriate rendering.

JVM stub — returns the raw HTML as plain text (no HTML rendering on Desktop).

Link copied to clipboard
fun annotateNeighborInfo(inString: String?, statusGreen: ERROR CLASS: Symbol not found for Color, statusYellow: ERROR CLASS: Symbol not found for Color, statusOrange: ERROR CLASS: Symbol not found for Color): ERROR CLASS: Symbol not found for AnnotatedString

Converts a raw neighbor info string into an AnnotatedString with SNR values highlighted according to their quality.

Link copied to clipboard
fun annotateTraceroute(inString: String?, statusGreen: ERROR CLASS: Symbol not found for Color, statusYellow: ERROR CLASS: Symbol not found for Color, statusOrange: ERROR CLASS: Symbol not found for Color): ERROR CLASS: Symbol not found for AnnotatedString

Converts a raw traceroute string into an AnnotatedString with SNR values highlighted according to their quality.

Link copied to clipboard
actual fun createClipEntry(text: String, label: String): ERROR CLASS: Symbol not found for ClipEntry
expect fun createClipEntry(text: String, label: String = ""): ERROR CLASS: Symbol not found for ClipEntry

Creates a platform-appropriate ClipEntry for the given text.

actual fun createClipEntry(text: String, label: String): ERROR CLASS: Symbol not found for ClipEntry
Link copied to clipboard

Finds the Activity from a Context.

Link copied to clipboard
fun formatAgo(lastSeenUnixSeconds: Int): String

Formats a given Unix timestamp (in seconds) into a relative "time ago" string.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Position.formatPositionTime(): String
Link copied to clipboard
actual fun generateQrCode(text: String, size: Int): ERROR CLASS: Symbol not found for ImageBitmap??
expect fun generateQrCode(text: String, size: Int): ERROR CLASS: Symbol not found for ImageBitmap??

Generates a QR code for the given text.

actual fun generateQrCode(text: String, size: Int): ERROR CLASS: Symbol not found for ImageBitmap??

JVM stub — QR code generation not yet implemented on Desktop.

Link copied to clipboard
fun getChannelList(new: List<ERROR CLASS: Symbol not found for ChannelSettings>, old: List<ERROR CLASS: Symbol not found for ChannelSettings>): List<ERROR CLASS: Symbol not found for Channel>

Builds a Channel list from the difference between two ChannelSettings lists. Only changes are included in the resulting list.

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
actual fun rememberOpenMap(): (latitude: Double, longitude: Double, label: String) -> Unit
expect fun rememberOpenMap(): (latitude: Double, longitude: Double, label: String) -> Unit

Returns a function to open the platform's map application at the given coordinates.

actual fun rememberOpenMap(): (latitude: Double, longitude: Double, label: String) -> Unit

JVM stub — map opening is not available on Desktop.

Link copied to clipboard
expect fun rememberOpenNfcSettings(): () -> Unit

Returns a function to open the platform's NFC settings.

JVM stub — NFC settings are not available on Desktop.

Link copied to clipboard
actual fun rememberOpenUrl(): (url: String) -> Unit
expect fun rememberOpenUrl(): (url: String) -> Unit

Returns a function to open the platform's browser with the given URL.

actual fun rememberOpenUrl(): (url: String) -> Unit

JVM stub — URL opening via Desktop browse API.

Link copied to clipboard
actual fun rememberShowToast(): suspend (String) -> Unit
expect fun rememberShowToast(): suspend (String) -> Unit

Returns a function to show a toast message.

actual fun rememberShowToast(): suspend (String) -> Unit

JVM stub — toast messages are logged instead.

Link copied to clipboard
actual fun rememberShowToastResource(): suspend (ERROR CLASS: Symbol not found for StringResource) -> Unit
expect fun rememberShowToastResource(): suspend (ERROR CLASS: Symbol not found for StringResource) -> Unit

Returns a function to show a toast message from a string resource.

actual fun rememberShowToastResource(): suspend (ERROR CLASS: Symbol not found for StringResource) -> Unit

JVM stub — toast messages are logged instead.

Link copied to clipboard
actual fun SetScreenBrightness(brightness: Float)
expect fun SetScreenBrightness(brightness: Float)

A Composable that sets the screen brightness while it is in the composition.

actual fun SetScreenBrightness(brightness: Float)

JVM no-op — screen brightness control is not available on Desktop.

Link copied to clipboard
suspend fun Context.showToast(text: String)
suspend fun Context.showToast(stringResource: StringResource, vararg formatArgs: Any)
Link copied to clipboard
inline fun ERROR CLASS: Symbol not found for Modifier.thenIf(precondition: Boolean, action: ERROR CLASS: Symbol not found for Modifier.() -> ERROR CLASS: Symbol not found for Modifier): ERROR CLASS: Symbol not found for Modifier

Conditionally applies the action to the receiver Modifier if precondition is true. Otherwise, returns the receiver unchanged.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TracerouteMapAvailability.toMessageRes(): ERROR CLASS: Symbol not found for StringResource??
Link copied to clipboard
fun ERROR CLASS: Symbol not found for MeshPacket.toPosition(): ERROR CLASS: Symbol not found for Position??