Package-level declarations

Types

Link copied to clipboard
data class ButtonState(val onClick: () -> Unit, val imageVector: ImageVector, val contentDescriptionId: Int, val hintActive: Int = 0, val hintInactive: Int = 0)
Link copied to clipboard
class ExtractDetails(extract: Feature)
Link copied to clipboard
data class Section(val textId: Int, val type: SectionType, val skipTalkback: Boolean = false, val markdown: Boolean = false, val faqAnswer: Int = -1)
Link copied to clipboard
data class Sections(val titleId: Int, val sections: List<Section>)
Link copied to clipboard

Properties

Link copied to clipboard
val helpPages: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
val previewLocationList: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
@Preview(showBackground = true)
fun AboutHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun AheadOfMeHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun AroundMeHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun AutomaticCalloutsHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun BeaconHelpPreview()
Link copied to clipboard
fun CardButton(onClick: () -> Unit, imageVector: ImageVector, active: Boolean = true, contentDescriptionId: Int, hintActive: Int = 0, hintInactive: Int = 0, testTag: String)
Link copied to clipboard
fun CardStatefulButton(states: Array<ButtonState>, currentState: Int, active: Boolean = true, testTag: String)
Link copied to clipboard

Create a location marker drawable which has location_marker as it's background, and an integer in the foreground. These are to mark on the map locations of waypoints within a route.

Link copied to clipboard
@Preview(showBackground = true)
fun CreatingMarkersHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun EditingMarkersHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun FaqAnswerHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun FaqHelpPreview()
Link copied to clipboard
fun FullScreenMapFab(fullscreenMap: MutableState<Boolean>, modifier: Modifier = Modifier)
Link copied to clipboard
Link copied to clipboard
fun HelpScreen(topic: String, navController: NavHostController, modifier: Modifier)
Link copied to clipboard
fun Home(state: HomeState, onNavigate: (String) -> Unit, preferences: SharedPreferences?, onMapLongClick: MapLibreMap.OnMapLongClickListener, bottomButtonFunctions: BottomButtonFunctions, getCurrentLocationDescription: () -> LocationDescription, rateSoundscape: () -> Unit, contactSupport: () -> Unit, routeFunctions: RouteFunctions, streetPreviewFunctions: StreetPreviewFunctions, modifier: Modifier = Modifier, searchText: String, onSearchTextChange: (String) -> Unit, onToggleSearch: () -> Unit, goToAppSettings: (Context) -> Unit, permissionsRequired: Boolean)
Link copied to clipboard
fun HomeBottomAppBar(bottomButtonFunctions: BottomButtonFunctions, modifier: Modifier = Modifier)
Link copied to clipboard
fun HomeContent(location: LngLatAlt?, beaconState: BeaconState?, routePlayerState: RoutePlayerState, heading: Float, onNavigate: (String) -> Unit, onMapLongClick: MapLibreMap.OnMapLongClickListener, getCurrentLocationDescription: () -> LocationDescription, searchBar: @Composable () -> Unit, modifier: Modifier = Modifier, streetPreviewState: StreetPreviewState, streetPreviewFunctions: StreetPreviewFunctions, routeFunctions: RouteFunctions, goToAppSettings: (Context) -> Unit, fullscreenMap: MutableState<Boolean>, permissionsRequired: Boolean, showMap: Boolean)
Link copied to clipboard
@Preview(showBackground = true)
fun HomeHelpPreview()
Link copied to clipboard
@Preview(device = "spec:parent=pixel_5,orientation=landscape", showBackground = true)
@Preview(showBackground = true)
fun HomePreview()
Link copied to clipboard
@Preview(device = "spec:parent=pixel_5,orientation=landscape", showBackground = true)
@Preview(showBackground = true)
fun HomeRoutePreview()
Link copied to clipboard
@Preview(device = "spec:parent=pixel_5,orientation=landscape", showBackground = true, fontScale = 3.13)
@Preview(showBackground = true)
fun HomeSearchPreview()
Link copied to clipboard
fun HomeTopAppBar(drawerState: DrawerState, coroutineScope: CoroutineScope, onNavigate: (String) -> Unit, streetPreviewState: Boolean)
Link copied to clipboard
Link copied to clipboard
fun MapContainerLibre(mapCenter: LngLatAlt, allowScrolling: Boolean, userLocation: LngLatAlt?, userSymbolRotation: Float, beaconLocation: LngLatAlt?, routeData: RouteWithMarkers?, modifier: Modifier = Modifier, editBeaconLocation: Boolean = false, onMapLongClick: MapLibreMap.OnMapLongClickListener, showMap: Boolean, overlayGeoJson: String = "")

A map disable component that uses maplibre.

Link copied to clipboard
@Preview(showBackground = true)
fun MarkersHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun MyLocationHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun NearbyMarkersHelpPreview()
Link copied to clipboard
fun OfflineExtract(extract: Feature, extractSelected: (String, Feature) -> Unit, row: Int)
Link copied to clipboard
@Preview(showBackground = true)
fun OfflineHelpPreview()
Link copied to clipboard
fun OfflineMapsScreen(navController: NavHostController, uiState: OfflineMapsUiState, modifier: Modifier, progressPrecise: Int, progressForBar: Int, downloading: Boolean, caching: Boolean, downloadExtract: (String, Feature) -> Unit, deleteExtract: (Feature) -> Unit, cancelDownload: () -> Unit)
Link copied to clipboard
Link copied to clipboard
@Preview(showBackground = true, fontScale = 1.5)
fun OfflineMapsScreenPreview()
Link copied to clipboard
fun OfflineMapsScreenVM(navController: NavHostController, modifier: Modifier, locationDescription: LocationDescription)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun rememberMapViewWithLifecycle(disposeCode: (map: MapView) -> Unit): MapView
Link copied to clipboard
@Preview(showBackground = true)
fun RemoteHelpPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun RoutesContentHelpPreview()
Link copied to clipboard
fun SleepScreen(exitSleep: () -> Unit = {}, modifier: Modifier)
Link copied to clipboard
@Preview(showBackground = true)
fun SleepScreenPreview()
Link copied to clipboard
fun SleepScreenVM(navController: NavHostController, modifier: Modifier)
Link copied to clipboard
@Preview(showBackground = true)
fun StreetPreview()
fun StreetPreview(state: StreetPreviewState, heading: Float, streetPreviewFunctions: StreetPreviewFunctions)
Link copied to clipboard
@Preview(showBackground = true)
fun TipsHelpPreview()
Link copied to clipboard
fun updateRouteMarkers(sm: SymbolManager, annotationList: MutableList<Symbol>, routeData: RouteWithMarkers?, routeMarkers: MutableState<List<Symbol>?>)
Link copied to clipboard
@Preview(showBackground = true)
fun VoicesHelpPreview()