Package-level declarations

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Instruction(val routeOffset: Distance = Distance.ZERO, val length: Distance = DEFAULT_MANEUVER_LENGTH, val combineWithNext: Boolean = false)

Represents an instruction arrow on a route.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Route

A Route representation which can be added and displayed on the map.

Link copied to clipboard
fun interface RouteClickListener

Interface for notifying about the Route being clicked.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface RouteController

Controls Route-specific features on the map. Allows Route management and the user interactions with the Route.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class RouteNotFoundException : RuntimeException

Exception thrown when a Route with the given routeId cannot be found on the map.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class RouteOptions(val geometry: List<GeoPoint>, @ColorInt val color: Int = DEFAULT_COLOR, @FloatRange(from = 0.0) val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH, val widths: List<WidthByZoom> = DEFAULT_WIDTHS, val visible: Boolean = true, val progress: Distance = Distance.ZERO, val instructions: List<Instruction> = emptyList(), val tag: String? = null, val departureMarkerVisible: Boolean = false, val destinationMarkerVisible: Boolean = false, val isFollowable: Boolean = false, val routeOffset: List<Distance> = emptyList(), val sections: List<RouteSection> = emptyList(), val departureMarkerPinImage: Image? = DEFAULT_DEPARTURE_ICON, val destinationMarkerPinImage: Image? = DEFAULT_DESTINATION_ICON, val departure: GeoPoint? = null, val destination: GeoPoint? = null)

Configures options for a Route representation which can be added and displayed on the map. See TomTomMap.addRoute(routeOptions: RouteOptions).

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class RouteSection(val type: RouteSectionType, val indexRange: IntRange, val textureUri: Uri? = null)

Represent the Route section.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
value class RouteSectionType

The type of a RouteSectionType.