Package-level declarations

Types

Link copied to clipboard
class BatteryInfoPreviewParameterProvider : <ERROR CLASS> ERROR CLASS: Symbol not found for PreviewParameterProvider<ERROR CLASS: Symbol not found for Pair<kotlin/Int?, kotlin/Float?>>
Link copied to clipboard
Link copied to clipboard
data class DropDownItem<T>(val value: T, val label: String, val icon: ERROR CLASS: Symbol not found for ImageVector?? = null, val color: ERROR CLASS: Symbol not found for Color?? = null)
Link copied to clipboard
enum Iaq : Enum<Iaq>
Link copied to clipboard
Link copied to clipboard
data class MenuFABItem(val label: String, val icon: ERROR CLASS: Symbol not found for ImageVector, val onClick: () -> Unit, val testTag: String? = null)
Link copied to clipboard

Represents the various visual states of the node key as an enum. Each enum constant encapsulates the icon, color, descriptive text, and optional badge details.

Link copied to clipboard
Link copied to clipboard
sealed class ScrollToTopEvent

Event emitted when a user re-presses a bottom navigation destination that should trigger a scroll-to-top behaviour on the corresponding screen.

Link copied to clipboard

Represents the various visual states of the security icon as an enum. Each enum constant encapsulates the icon, color, descriptive text, and optional badge details.

Link copied to clipboard
class SignalStrengthProvider : <ERROR CLASS> ERROR CLASS: Symbol not found for PreviewParameterProvider<kotlin/Int>

Properties

Link copied to clipboard
Link copied to clipboard
val ERROR CLASS: Symbol not found for Channel.isLowEntropyKey: Boolean

Extension property to check if the channel uses a low entropy PSK (not securely encrypted).

Link copied to clipboard
val ERROR CLASS: Symbol not found for Channel.isMqttEnabled: Boolean

Extension property to check if MQTT is enabled for the channel.

Link copied to clipboard
val ERROR CLASS: Symbol not found for Channel.isPreciseLocation: Boolean

Extension property to check if the channel has precise location enabled.

Link copied to clipboard
const val MAX_VALID_RSSI: Int = 0
Link copied to clipboard
const val MAX_VALID_SNR: Float = 100.0f
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun AdaptiveTwoPane(first: ERROR CLASS: Symbol not found for ColumnScope.() -> Unit, second: ERROR CLASS: Symbol not found for ColumnScope.() -> Unit): ERROR CLASS: Unresolved name: BoxWithConstraints
Link copied to clipboard
fun AirQualityInfo(iaq: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun AutoLinkText(text: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, style: ERROR CLASS: Symbol not found for TextStyle = TextStyle.Default, linkStyles: ERROR CLASS: Symbol not found for TextLinkStyles = DefaultTextLinkStyles, color: ERROR CLASS: Symbol not found for Color = Color.Unspecified, textAlign: ERROR CLASS: Symbol not found for TextAlign?? = null)

A Text component that automatically detects and linkifies URLs, email addresses, and phone numbers.

Link copied to clipboard
fun BasicListItem(text: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, textColor: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, supportingText: String? = null, supportingTextColor: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, enabled: Boolean = true, leadingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null, leadingIconTint: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, trailingContent: () -> Unit? = null, onClick: () -> Unit? = null, onLongClick: () -> Unit? = null)

The foundational list item. It supports a leadingIcon (optional), headline text and supportingText (optional), and a trailingContent composable (optional).

Link copied to clipboard
fun BitwisePreference(title: String, value: Int, enabled: Boolean, items: List<ERROR CLASS: Symbol not found for Pair<kotlin/Int, kotlin/String>>, onItemSelected: (Int) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null)
Link copied to clipboard
fun BottomSheetDialog(onDismiss: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, content: ERROR CLASS: Symbol not found for ColumnScope.() -> Unit): ERROR CLASS: Unresolved name: Dialog
Link copied to clipboard
fun ChannelInfo(channel: Int, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun ChannelItem(index: Int, title: String, enabled: Boolean, onClick: () -> Unit = {}, content: ERROR CLASS: Symbol not found for RowScope.() -> Unit)
Link copied to clipboard
fun ChannelSelection(index: Int, title: String, enabled: Boolean, isSelected: Boolean, onSelected: (Boolean) -> Unit, channel: ERROR CLASS: Symbol not found for Channel)
Link copied to clipboard
fun ClickableTextField(label: ERROR CLASS: Symbol not found for StringResource, enabled: Boolean, trailingIcon: ERROR CLASS: Symbol not found for ImageVector, value: String, onClick: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, isError: Boolean = false)
Link copied to clipboard
fun CopyIconButton(valueToCopy: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, label: String = stringResource(Res.string.copy))
Link copied to clipboard
Link copied to clipboard
fun DistanceInfo(distance: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.dragContainer(dragDropState: DragDropState, haptics: ERROR CLASS: Symbol not found for HapticFeedback): ERROR CLASS: Symbol not found for Modifier
Link copied to clipboard
inline fun <T> ERROR CLASS: Symbol not found for LazyListScope.dragDropItemsIndexed(items: List<T>, dragDropState: DragDropState, noinline key: (index: Int, item: T) -> Any? = null, crossinline itemContent: ERROR CLASS: Symbol not found for LazyItemScope.(index: Int, item: T, isDragging: Boolean) -> Unit): ERROR CLASS: Unresolved name: itemsIndexed

Extension function for LazyListScope with drag-and-drop functionality for indexed items.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LazyItemScope.DraggableItem(dragDropState: DragDropState, index: Int, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, content: ERROR CLASS: Symbol not found for ColumnScope.(isDragging: Boolean) -> Unit)
Link copied to clipboard
fun <T> DropDownPreference(title: String, enabled: Boolean, items: List<ERROR CLASS: Symbol not found for Pair<T, kotlin/String>>, selectedItem: T, onItemSelected: (T) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null)
fun <T> DropDownPreference(title: String, enabled: Boolean, items: List<DropDownItem<T>>, selectedItem: T, onItemSelected: (T) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null)
fun <T : Enum<T>> DropDownPreference(title: String, enabled: Boolean, selectedItem: T, onItemSelected: (T) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null, itemIcon: (T) -> ERROR CLASS: Symbol not found for ImageVector? = null, itemColor: (T) -> ERROR CLASS: Symbol not found for Color? = null, itemLabel: (T) -> String? = null)
Link copied to clipboard
fun EditBase64Preference(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, title: String, summary: String? = null, value: ERROR CLASS: Symbol not found for ByteString, enabled: Boolean, readOnly: Boolean = false, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChange: (ERROR CLASS: Symbol not found for ByteString) -> Unit, onGenerateKey: () -> Unit? = null, trailingIcon: () -> Unit? = null)
Link copied to clipboard
fun EditIPv4Preference(title: String, value: Int, enabled: Boolean, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChanged: (Int) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
inline fun <T> EditListPreference(title: String, list: List<T>, maxCount: Int, enabled: Boolean, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, crossinline onValuesChanged: (List<T>) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null)
Link copied to clipboard
fun EditPasswordPreference(title: String, value: String, maxSize: Int, enabled: Boolean, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChanged: (String) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
fun EditTextPreference(title: String, value: Double, enabled: Boolean, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChanged: (Double) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null, onFocusChanged: (ERROR CLASS: Symbol not found for FocusState) -> Unit = {})
fun EditTextPreference(title: String, value: Float, enabled: Boolean, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChanged: (Float) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null, onFocusChanged: (ERROR CLASS: Symbol not found for FocusState) -> Unit = {})
fun EditTextPreference(title: String, value: Int, enabled: Boolean, isError: Boolean = false, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChanged: (Int) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null, onFocusChanged: (ERROR CLASS: Symbol not found for FocusState) -> Unit = {}, trailingIcon: () -> Unit? = null)
fun EditTextPreference(title: String, value: String, enabled: Boolean, isError: Boolean, keyboardOptions: ERROR CLASS: Symbol not found for KeyboardOptions, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChanged: (String) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null, maxSize: Int = 0, onFocusChanged: (ERROR CLASS: Symbol not found for FocusState) -> Unit = {}, trailingIcon: () -> Unit? = null, visualTransformation: ERROR CLASS: Symbol not found for VisualTransformation = VisualTransformation.None)
Link copied to clipboard
fun ElevationInfo(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, altitude: Int, system: ERROR CLASS: Symbol not found for DisplayUnits, suffix: String = stringResource(Res.string.elevation_suffix), contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun EmptyDetailPlaceholder(icon: ERROR CLASS: Symbol not found for ImageVector, title: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)

Generic empty-state placeholder for detail panes in list-detail layouts.

Link copied to clipboard
fun getIaq(iaq: Int): Iaq?
Link copied to clipboard
fun HardwareInfo(hwModel: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun HopsInfo(hops: Int, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun HumidityInfo(humidity: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun IAQScale(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
Link copied to clipboard
fun ERROR CLASS: Symbol not found for ImageVector??.icon(tint: ERROR CLASS: Symbol not found for Color = LocalContentColor.current): () -> Unit?
Link copied to clipboard
fun IconInfo(icon: ERROR CLASS: Symbol not found for ImageVector, contentDescription: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, label: String? = null, text: String? = null, style: ERROR CLASS: Symbol not found for TextStyle = MaterialTheme.typography.labelMedium, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface, content: () -> Unit = {})
Link copied to clipboard
fun IndoorAirQuality(iaq: Int?, displayMode: IaqDisplayMode = IaqDisplayMode.Pill)
Link copied to clipboard
fun InsetDivider(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, inset: ERROR CLASS: Symbol not found for Dp = 16.dp, thickness: ERROR CLASS: Symbol not found for Dp = DividerDefaults.Thickness, color: ERROR CLASS: Symbol not found for Color = DividerDefaults.color)
fun InsetDivider(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, startInset: ERROR CLASS: Symbol not found for Dp = 0.dp, endInset: ERROR CLASS: Symbol not found for Dp = 0.dp, thickness: ERROR CLASS: Symbol not found for Dp = DividerDefaults.Thickness, color: ERROR CLASS: Symbol not found for Color = DividerDefaults.color)
Link copied to clipboard
fun LastHeardInfo(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, lastHeard: Int, showLabel: Boolean = true, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
Link copied to clipboard
fun ListItem(text: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, supportingText: String? = null, textColor: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, supportingTextColor: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, copyable: Boolean = false, enabled: Boolean = true, leadingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null, leadingIconTint: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, trailingIcon: ERROR CLASS: Symbol not found for ImageVector?? = Icons.AutoMirrored.Rounded.KeyboardArrowRight, trailingIconTint: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, onClick: () -> Unit? = null)

A list item with an optional leadingIcon, headline text, optional supportingText, and optional trailingIcon.

Link copied to clipboard
fun LoraSignalIndicator(snr: Float, rssi: Int, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)

Displays a human readable description and icon representing the signal quality.

Link copied to clipboard
fun MainAppBar(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, title: String, subtitle: String? = null, ourNode: ERROR CLASS: Symbol not found for Node??, showNodeChip: Boolean, canNavigateUp: Boolean, onNavigateUp: () -> Unit, actions: () -> Unit, onClickChip: (ERROR CLASS: Symbol not found for Node) -> Unit)
Link copied to clipboard
fun MaterialBatteryInfo(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, level: Int?, voltage: Float? = null, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun MaterialBatteryInfoPreview(info: ERROR CLASS: Symbol not found for Pair<kotlin/Int?, kotlin/Float?>)
Link copied to clipboard
fun MaterialBluetoothSignalInfo(rssi: Int, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
fun MaterialSignalInfo(signalBars: Int, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, signalStrengthValue: String? = null, typeIcon: ERROR CLASS: Symbol not found for ImageVector?? = null)

A composable that displays a signal strength indicator with an icon and optional text value. The icon and its color change based on the number of signal bars.

Link copied to clipboard
fun MenuFAB(expanded: Boolean, onExpandedChange: (Boolean) -> Unit, items: List<MenuFABItem>, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentDescription: String? = null, testTag: String? = null)
Link copied to clipboard
fun MeshtasticDialog(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, title: String? = null, titleRes: ERROR CLASS: Symbol not found for StringResource?? = null, message: String? = null, messageRes: ERROR CLASS: Symbol not found for StringResource?? = null, html: String? = null, icon: ERROR CLASS: Symbol not found for ImageVector?? = null, text: () -> Unit? = null, confirmText: String? = null, confirmTextRes: ERROR CLASS: Symbol not found for StringResource?? = null, onConfirm: () -> Unit? = null, dismissText: String? = null, dismissTextRes: ERROR CLASS: Symbol not found for StringResource?? = null, onDismiss: () -> Unit? = null, choices: Map<String, () -> Unit> = emptyMap(), dismissable: Boolean = true)

A comprehensive and flexible dialog component for the Meshtastic application.

Link copied to clipboard
fun MeshtasticImportFAB(onImport: (String) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, sharedContact: ERROR CLASS: Symbol not found for SharedContact?? = null, onDismissSharedContact: () -> Unit = {}, onShareChannels: () -> Unit? = null, isContactContext: Boolean = true, testTag: String? = null, importDialog: (ERROR CLASS: Symbol not found for SharedContact, () -> Unit) -> Unit = { contact, dismiss -> SharedContactImportDialog(sharedContact = contact, onDismiss = dismiss) })

Unified Floating Action Button for importing Meshtastic data (Contacts, Channels, etc.) via NFC, QR, or URL. Handles the SharedContactImportDialog if a contact is pending import.

Link copied to clipboard
fun MeshtasticResourceDialog(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, titleRes: ERROR CLASS: Symbol not found for StringResource, messageRes: ERROR CLASS: Symbol not found for StringResource, confirmTextRes: ERROR CLASS: Symbol not found for StringResource?? = null, dismissTextRes: ERROR CLASS: Symbol not found for StringResource?? = null, onConfirm: () -> Unit? = null, onDismiss: () -> Unit? = null, dismissable: Boolean = true)

A simplified MeshtasticDialog using only string resources.

Link copied to clipboard
fun MeshtasticTextDialog(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, titleRes: ERROR CLASS: Symbol not found for StringResource, message: String, confirmTextRes: ERROR CLASS: Symbol not found for StringResource?? = null, dismissTextRes: ERROR CLASS: Symbol not found for StringResource?? = null, onConfirm: () -> Unit? = null, onDismiss: () -> Unit? = null, dismissable: Boolean = true)

A simplified MeshtasticDialog using a title resource and a plain text message.

Link copied to clipboard
fun NodeChip(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, node: ERROR CLASS: Symbol not found for Node, onClick: (ERROR CLASS: Symbol not found for Node) -> Unit? = null)
Link copied to clipboard
fun NodeIdInfo(id: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun NodeKeyStatusIcon(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, hasPKC: Boolean, mismatchKey: Boolean, publicKey: ERROR CLASS: Symbol not found for ByteString?? = null)

function to display information about the current node's encryption key.

Link copied to clipboard
fun NodeSignalQuality(snr: Float, rssi: Int, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)

Displays the snr and rssi color coded based on the signal quality, along with a human readable description and related icon.

Link copied to clipboard
fun OptionLabel(text: String)

Visual representation of the option the user may select.

Link copied to clipboard
fun OverlayIconInfo(icon: ERROR CLASS: Symbol not found for ImageVector, overlayIcon: ERROR CLASS: Symbol not found for ImageVector, contentDescription: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, label: String? = null, text: String? = null, style: ERROR CLASS: Symbol not found for TextStyle = MaterialTheme.typography.labelMedium, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun PaxcountInfo(pax: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun PositionPrecisionPreference(value: Int, enabled: Boolean, onValueChanged: (Int) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
fun PowerInfo(value: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, label: String? = null, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
Link copied to clipboard
fun PreferenceCategory(text: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, content: ERROR CLASS: Symbol not found for ColumnScope.() -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
fun PreferenceFooter(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, negativeText: String? = null, onNegativeClicked: () -> Unit = {}, positiveText: String? = null, onPositiveClicked: () -> Unit = {})
fun PreferenceFooter(enabled: Boolean, negativeText: ERROR CLASS: Symbol not found for StringResource, onNegativeClicked: () -> Unit, positiveText: ERROR CLASS: Symbol not found for StringResource, onPositiveClicked: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
fun PressureInfo(pressure: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun QrDialog(title: String, uriString: String, qrCode: ERROR CLASS: Symbol not found for ImageBitmap??, onDismiss: () -> Unit)
Link copied to clipboard
fun RegularPreference(title: String, subtitle: ERROR CLASS: Symbol not found for AnnotatedString, onClick: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, summary: String? = null, trailingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null, dropdownMenu: () -> Unit = {})
fun RegularPreference(title: String, subtitle: String, onClick: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, summary: String? = null, trailingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null, dropdownMenu: () -> Unit = {})
Link copied to clipboard
fun rememberDragDropState(lazyListState: ERROR CLASS: Symbol not found for LazyListState, headerCount: Int = 0, onMove: (Int, Int) -> Unit): DragDropState
Link copied to clipboard

Remembers a time tick that updates every minute.

JVM implementation — returns System.currentTimeMillis() (no lifecycle-based updates on Desktop).

Link copied to clipboard
fun RoleInfo(role: ERROR CLASS: Symbol not found for Config.DeviceConfig.Role, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
fun RoleInfo(role: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun Rssi(rssi: Int, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
fun SatelliteCountInfo(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, satCount: Int, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun SecurityIcon(channel: ERROR CLASS: Symbol not found for Channel, baseContentDescription: String = stringResource(Res.string.security_icon_description), externalOnClick: () -> Unit? = null)

Overload for SecurityIcon that takes a Channel object to determine its security state.

fun SecurityIcon(securityState: SecurityState, baseContentDescription: String = stringResource(Res.string.security_icon_description), externalOnClick: () -> Unit? = null)

Displays an icon representing the security status of a channel. Clicking the icon shows a detailed help dialog.

fun SecurityIcon(channelSet: ERROR CLASS: Symbol not found for ChannelSet, channelIndex: Int, baseContentDescription: String = stringResource(Res.string.security_icon_description), externalOnClick: () -> Unit? = null)

Overload for SecurityIcon that takes an AppOnlyProtos.ChannelSet and a channel index. If the channel at the given index is not found, nothing is rendered.

fun SecurityIcon(channelSet: ERROR CLASS: Symbol not found for ChannelSet, channelName: String, baseContentDescription: String = stringResource(Res.string.security_icon_description), externalOnClick: () -> Unit? = null)

Overload for SecurityIcon that takes an AppOnlyProtos.ChannelSet and a channel name. If a channel with the given name is not found, nothing is rendered. This overload optimizes lookup by name by memoizing a map of channel names to settings.

fun SecurityIcon(channelSettings: ERROR CLASS: Symbol not found for ChannelSettings, loraConfig: ERROR CLASS: Symbol not found for LoRaConfig, baseContentDescription: String = stringResource(Res.string.security_icon_description), externalOnClick: () -> Unit? = null)

Overload for SecurityIcon that enables recomposition when making changes to the ChannelSettings.

fun SecurityIcon(isLowEntropyKey: Boolean, isPreciseLocation: Boolean = false, isMqttEnabled: Boolean = false, baseContentDescription: String = stringResource(Res.string.security_icon_description), externalOnClick: () -> Unit? = null)

Overload for SecurityIcon that derives the SecurityState from boolean flags.

Link copied to clipboard
fun SharedContactDialog(contact: ERROR CLASS: Symbol not found for Node??, onDismiss: () -> Unit)

Displays a dialog with the contact's information as a QR code and URI.

Link copied to clipboard
fun SharedContactImportDialog(sharedContact: ERROR CLASS: Symbol not found for SharedContact, onDismiss: () -> Unit)

Displays a dialog for importing a shared contact.

Link copied to clipboard
fun SignalInfo(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, node: ERROR CLASS: Symbol not found for Node, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun SignalInfoPreview(node: ERROR CLASS: Symbol not found for Node)
Link copied to clipboard
Link copied to clipboard
fun SignedIntegerEditTextPreference(title: String, value: Int, enabled: Boolean, keyboardActions: ERROR CLASS: Symbol not found for KeyboardActions, onValueChanged: (Int) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null, onFocusChanged: (ERROR CLASS: Symbol not found for FocusState) -> Unit = {}, trailingIcon: () -> Unit? = null)
Link copied to clipboard
fun <T> SliderPreference(title: String, enabled: Boolean, items: List<ERROR CLASS: Symbol not found for Pair<T, kotlin/String>>, selectedValue: T, onValueChange: (T) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, summary: String? = null)
Link copied to clipboard
fun <T : Any> SlidingSelector(options: List<T>, selectedOption: T, onOptionSelected: (T) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, content: (T) -> Unit)

Provides the user with a set of options they can choose from.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LazyListState.smartScrollToIndex(coroutineScope: ERROR CLASS: Symbol not found for CoroutineScope, targetIndex: Int)

Scrolls to the targetIndex while applying the same fast-scroll optimisation used by smartScrollToTop.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LazyListState.smartScrollToTop(coroutineScope: ERROR CLASS: Symbol not found for CoroutineScope)

Executes the smart scroll-to-top policy.

Link copied to clipboard
fun Snr(snr: Float, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
fun SnrAndRssi(snr: Float, rssi: Int)

Displays the snr and rssi with color depending on the values respectively.

Link copied to clipboard
fun SoilMoistureInfo(moisture: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun SoilTemperatureInfo(temp: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun SwitchListItem(checked: Boolean, text: String, onClick: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, textColor: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, enabled: Boolean = true, leadingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null, leadingIconTint: ERROR CLASS: Symbol not found for Color = LocalContentColor.current)

A toggleable switch list item.

Link copied to clipboard
fun SwitchPreference(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, title: String, summary: String = "", checked: Boolean, enabled: Boolean, onCheckedChange: (Boolean) -> Unit, padding: ERROR CLASS: Symbol not found for PaddingValues?? = null, containerColor: ERROR CLASS: Symbol not found for Color?? = null, loading: Boolean = false)
Link copied to clipboard
fun TemperatureInfo(temp: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)
Link copied to clipboard
fun TextDividerPreference(title: ERROR CLASS: Symbol not found for AnnotatedString, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, trailingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null)
fun TextDividerPreference(title: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, trailingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null)
Link copied to clipboard
fun TitledCard(title: String?, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, content: ERROR CLASS: Symbol not found for ColumnScope.() -> Unit)
Link copied to clipboard
fun TransportIcon(transport: Int, viaMqtt: Boolean, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)
Link copied to clipboard
fun UptimeInfo(uptime: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colorScheme.onSurface)