RouteAlert

abstract class RouteAlert(alertType: Int, coordinate: Point, distance: Double, alertGeometry: RouteAlertGeometry?)

Abstract class that serves as a base for all route alerts.

Available alert types are:

Parameters

alertType

constant describing the alert type, see RouteAlertType.

coordinate

location of the alert or its start point in case it has a length

distance

distance to this alert since the start of the route

alertGeometry

optional geometry details of the alert if it has a length

Constructors

RouteAlert
Link copied to clipboard
fun RouteAlert(alertType: Int, coordinate: Point, distance: Double, alertGeometry: RouteAlertGeometry?)
constant describing the alert type, see RouteAlertType.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

alertGeometry
Link copied to clipboard
val alertGeometry: RouteAlertGeometry?
optional geometry details of the alert if it has a length
alertType
Link copied to clipboard
val alertType: Int
constant describing the alert type, see RouteAlertType.
coordinate
Link copied to clipboard
val coordinate: Point
location of the alert or its start point in case it has a length
distance
Link copied to clipboard
val distance: Double
distance to this alert since the start of the route

Inheritors

CountryBorderCrossingAlert
Link copied to clipboard
RestStopAlert
Link copied to clipboard
RestrictedAreaAlert
Link copied to clipboard
TollCollectionAlert
Link copied to clipboard
TunnelEntranceAlert
Link copied to clipboard