Package-level declarations

Types

Link copied to clipboard
class Address(val houseNumber: String? = null, val street: String? = null, val neighborhood: String? = null, val locality: String? = null, val postcode: String? = null, val place: String? = null, val district: String? = null, val region: String? = null, val country: String? = null)

Represents a physical address with various optional components.

Link copied to clipboard
class BoundingBox(val southwest: Point, val northeast: Point)

A bounding box is a rectangular area of a map.

Link copied to clipboard
class Brand(val name: String) : SearchItem

A brand like "McDonald's" or "Burger King".

Link copied to clipboard

Holds information about camera bounds, i.e. camera limitations.

Link copied to clipboard

Defines type of map camera overview modes.

Link copied to clipboard
class Category(val name: String, val canonicalName: String) : SearchItem

A category like "restaurant" or "supermarket".

Link copied to clipboard
class CategorySearchOptions(val proximity: Point? = null, val boundingBox: BoundingBox? = null)

Search options, used for category search.

Link copied to clipboard
class DayOfWeekTime(val day: Int, val hour: Int, val minute: Int)

Represents a specific time within a specific day of a week.

Link copied to clipboard
Link copied to clipboard

Represents a connector at a charging station.

Link copied to clipboard

Represents metadata for a single EV charging station.

Link copied to clipboard

A metadata about an EV-waypoint, which is a part of a route defined by NavigationState.

Link copied to clipboard
class FavoritePlace(val place: SearchResult, val type: String)

Represents a user-defined favorite place.

Link copied to clipboard

Represents different types of user-defined favorite locations.

Link copied to clipboard
class ForwardOptions(val proximity: Point? = null, val boundingBox: BoundingBox? = null, val countries: List<String>? = null)

Options, required to call com.mapbox.dash.sdk.ipc.client.core.NavManagerService.forward.

Link copied to clipboard
abstract class HoursOfOperation

Represents hours of operations of a POI (SearchResult).

Link copied to clipboard
class LocationMatcherResult(val location: MapMatchedLocation, val etcRoadType: Int, val speed3D: Float, val altitudeMeanSeaLevel: Float)

Represents the result of MapMatching.

Link copied to clipboard
class MapDisplayOptions(val trafficVisibilityType: String, val satelliteMode: Boolean)

Configuration of how the map will look.

Link copied to clipboard
class MapMatchedLocation(val latitude: Double, val longitude: Double, val heading: Float)

Class representing a map-matched location.

Link copied to clipboard

Defines the traffic visibility on the map.

Link copied to clipboard
abstract class NavigationState

Represents the current state of the navigation.

Link copied to clipboard
class NavigationStateActiveGuidance(val waypoints: List<SearchResult>, val evWaypointsMetadata: Map<String, EvWaypointMetadata>) : NavigationState

The navigation app is in the active guidance mode.

Link copied to clipboard
class NavigationStateFreeDrive(val previewWaypoints: List<SearchResult>, val evWaypointsMetadata: Map<String, EvWaypointMetadata>) : NavigationState

The navigation app is in the free drive mode.

Link copied to clipboard
class OperatingInterval(val open: DayOfWeekTime, val closed: DayOfWeekTime)

Represents times of a day when a POI (SearchResult) is opened and closed.

Link copied to clipboard

The state of the Place Details UI.

Link copied to clipboard
class Point(val latitude: Double, val longitude: Double)

A point is a geospatial feature defined by one pair of latitude and longitude coordinates.

Link copied to clipboard
class Route

Represents a route option during navigation. Contains route information including identification, name, distance, and estimated time.

Link copied to clipboard
class RouteOptions(val avoidHighways: Boolean, val avoidTolls: Boolean, val avoidFerries: Boolean, val avoidUnpavedRoads: Boolean, val includeHov2: Boolean, val includeHov3: Boolean, val suppressVoiceInstructionLocalNames: Boolean)

Configuration options for route calculation.

Link copied to clipboard
class SearchAlongTheRouteOptions(val deviationTime: Duration = 3.minutes)

Options to perform a SAR (search along the route).

Link copied to clipboard
abstract class SearchItem

Item found by a search with an instance of NavManagerService.

Link copied to clipboard
class SearchOptions(val proximity: Point? = null, val boundingBox: BoundingBox? = null, val countries: List<String>? = null)

Options, required to call com.mapbox.dash.sdk.ipc.client.core.NavManagerService.search.

Link copied to clipboard
class SearchResult(val id: String, val coordinate: Point, val address: Address?, val name: String, val customName: String?, val type: String, val categoryIds: List<String>?, val description: String?, val distanceMeters: Double?, val isOffline: Boolean, val metadata: SearchResultMetadata?, val evStationId: String? = null, val isTransient: Boolean) : SearchItem

Represents a place on a map that the user can navigate to. Must not necessary be instantiated by Mapbox, can also be created on the client side to convert 3rd-party search results into Mapbox format to then navigate to them.

Link copied to clipboard
class SearchResultMetadata(val reviewCount: Int? = null, val phone: String? = null, val website: String? = null, val rating: Float? = null, val description: String? = null, val openHours: HoursOfOperation? = null)

Additional metadata for a SearchResult.

Link copied to clipboard

Represents a search result enhanced with route metrics information.

Link copied to clipboard

Defines type of search result.

Link copied to clipboard

The state of the search results UI.

Link copied to clipboard

Slow traffic notification information.

Link copied to clipboard

Holds available UiModeSettings types.

Link copied to clipboard
class UIOptions(val uiModeSettings: String)

Configuration of how the UI will look.