Package com.mapbox.navigation.base.trip.model.alert

Types

CountryBorderCrossingAdminInfo
Link copied to clipboard
class CountryBorderCrossingAdminInfo
Administrative information.
CountryBorderCrossingAlert
Link copied to clipboard
class CountryBorderCrossingAlert : RouteAlert
Route alert type that provides information about country border crossings on the route.
IncidentAlert
Link copied to clipboard
class IncidentAlert : RouteAlert
Incident alert provides information about incidents on a way like congestion, mass transit, etc.
IncidentCongestion
Link copied to clipboard
class IncidentCongestion
Quantitative descriptor of congestion of IncidentAlert.
IncidentImpact
Link copied to clipboard
object IncidentImpact
Rate impacts of IncidentAlert.
IncidentInfo
Link copied to clipboard
class IncidentInfo
Additional info of IncidentAlert.
IncidentType
Link copied to clipboard
object IncidentType
Types of IncidentAlert.
RestrictedAreaAlert
Link copied to clipboard
class RestrictedAreaAlert : RouteAlert
Route alert type that provides information about restricted areas on the route.
RestStopAlert
Link copied to clipboard
class RestStopAlert : RouteAlert
Route alert type that provides information about rest stops on the route.
RestStopType
Link copied to clipboard
object RestStopType
Utility that lists available rest stops point types.
RouteAlert
Link copied to clipboard
abstract class RouteAlert(alertType: Int, coordinate: Point, distance: Double, alertGeometry: RouteAlertGeometry?)
Abstract class that serves as a base for all route alerts.
RouteAlertGeometry
Link copied to clipboard
class RouteAlertGeometry
Describes the geometry of a RouteAlert that has a length.
RouteAlertType
Link copied to clipboard
object RouteAlertType
Holds available RouteAlert types.
TollCollectionAlert
Link copied to clipboard
class TollCollectionAlert : RouteAlert
Route alert type that provides information about toll collection points on the route.
TollCollectionType
Link copied to clipboard
object TollCollectionType
Utility that lists available toll collection point types.
TunnelEntranceAlert
Link copied to clipboard
class TunnelEntranceAlert : RouteAlert
Route alert type that provides information about tunnels on the route.
TunnelInfo
Link copied to clipboard
class TunnelInfo
Tunnel information.
UpcomingRouteAlert
Link copied to clipboard
class UpcomingRouteAlert
Holds the route alert and the distance to the point where the alert occurs, or start an alert if it has length.

Functions

toLineString
Link copied to clipboard
fun RouteAlertGeometry.toLineString(routeLineString: LineString): LineString
Returns a LineString geometry of the alert.
fun RouteAlertGeometry.toLineString(directionsRoute: DirectionsRoute, precision: Int): LineString
Returns a LineString geometry of the alert.