Package-level declarations

Types

Link copied to clipboard
interface LifecycleAware

This represents a component that is aware of Android's lifecycle events. Provides callback methods that mirror the lifecycle events of both Activities and Fragments, allowing for a unified approach to handling these events in custom components.

Link copied to clipboard

An Android fragment wrapping the TomTom MapView. This fragment handles a complete lifecycle of the underlying MapView. It can be instantiated either programmatically via MapFragment.newInstance(mapOptions: MapOptions) or via the XML view inflation. See MapResources to check what attributes can be configured via XML.

Link copied to clipboard
interface MapProvider

The interface to provide the map instance.

Link copied to clipboard
fun interface MapReadyCallback

Interface for notifying about the TomTomMap being ready to use.

Link copied to clipboard

MapView to wrap the underlying map renderer. It handles application lifecycle events in order to properly manage the lifecycle of the map. The view can be created programmatically or via the XML view inflation. See MapResources to check what attributes can be configured via XML.

Link copied to clipboard
data class Margin(@IntRange(from = 0) val left: Int, @IntRange(from = 0) val top: Int, @IntRange(from = 0) val right: Int, @IntRange(from = 0) val bottom: Int)

Defines the margins of the UI component in pixels.

Link copied to clipboard

Interface for reporting on click events on the UI component.

Link copied to clipboard
interface UiComponents

Entry point that provides access to map UI elements.