Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class CleanNodeDatabaseViewModel(cleanNodeDatabaseUseCase: ERROR CLASS: Symbol not found for CleanNodeDatabaseUseCase, alertManager: ERROR CLASS: Symbol not found for AlertManager) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel

ViewModel for CleanNodeDatabaseScreen. Manages the state and logic for cleaning the node database based on specified criteria. The "older than X days" filter is always active.

Link copied to clipboard
data class RadioConfigState(val isLocal: Boolean = false, val connected: Boolean = false, val route: String = "", val metadata: ERROR CLASS: Symbol not found for DeviceMetadata?? = null, val userConfig: ERROR CLASS: Symbol not found for User = User(), val channelList: List<ERROR CLASS: Symbol not found for ChannelSettings> = emptyList(), val radioConfig: ERROR CLASS: Symbol not found for LocalConfig = LocalConfig(), val moduleConfig: ERROR CLASS: Symbol not found for LocalModuleConfig = LocalModuleConfig(), val ringtone: String = "", val cannedMessageMessages: String = "", val deviceConnectionStatus: ERROR CLASS: Symbol not found for DeviceConnectionStatus?? = null, val responseState: ResponseState<Boolean> = ResponseState.Empty, val analyticsAvailable: Boolean = true, val analyticsEnabled: Boolean = false, val nodeDbResetPreserveFavorites: Boolean = false)

Data class that represents the current RadioConfig state.

Link copied to clipboard
open class RadioConfigViewModel(savedStateHandle: ERROR CLASS: Symbol not found for SavedStateHandle, radioConfigRepository: ERROR CLASS: Symbol not found for RadioConfigRepository, packetRepository: ERROR CLASS: Symbol not found for PacketRepository, serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, locationRepository: ERROR CLASS: Symbol not found for LocationRepository, mapConsentPrefs: ERROR CLASS: Symbol not found for MapConsentPrefs, analyticsPrefs: ERROR CLASS: Symbol not found for AnalyticsPrefs, homoglyphEncodingPrefs: ERROR CLASS: Symbol not found for HomoglyphPrefs, toggleAnalyticsUseCase: ERROR CLASS: Symbol not found for ToggleAnalyticsUseCase, toggleHomoglyphEncodingUseCase: ERROR CLASS: Symbol not found for ToggleHomoglyphEncodingUseCase, importProfileUseCase: ERROR CLASS: Symbol not found for ImportProfileUseCase, exportProfileUseCase: ERROR CLASS: Symbol not found for ExportProfileUseCase, exportSecurityConfigUseCase: ERROR CLASS: Symbol not found for ExportSecurityConfigUseCase, installProfileUseCase: ERROR CLASS: Symbol not found for InstallProfileUseCase, radioConfigUseCase: ERROR CLASS: Symbol not found for RadioConfigUseCase, adminActionsUseCase: ERROR CLASS: Symbol not found for AdminActionsUseCase, processRadioResponseUseCase: ERROR CLASS: Symbol not found for ProcessRadioResponseUseCase) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel
Link copied to clipboard
sealed class ResponseState<out T>

Generic sealed class defines each possible state of a response.

Functions

Link copied to clipboard

Composable screen for cleaning the node database. Allows users to specify criteria for deleting nodes. The list of nodes to be deleted updates automatically as filter criteria change.

Link copied to clipboard
fun RadioConfigItemList(state: RadioConfigState, isManaged: Boolean, isOtaCapable: Boolean = false, onRouteClick: (Enum<*>) -> Unit = {}, onImport: () -> Unit = {}, onExport: () -> Unit = {}, onNavigate: (ERROR CLASS: Symbol not found for Route) -> Unit)