RouteManeuver

open class RouteManeuver : BaseNativeParcelable

Class contains information about maneuver on the route. Typical maneuver is "turn right", "turn left", etc...

Constructors

Link copied to clipboard
open fun RouteManeuver(    @NonNull position: GeoCoordinates,     type: Int,     valid: Boolean,     distanceFromStart: Int,     roundaboutExit: Int,     @NonNull exitNumber: String,     @NonNull roadName: String,     @NonNull nextRoadName: String,     @NonNull roadNumbers: List<String>,     @NonNull nextRoadNumbers: List<String>,     @NonNull fromIso: String,     @NonNull nextIso: String)
Default constructor.

Types

Link copied to clipboard
annotation class Type

Functions

Link copied to clipboard
open fun describeContents(): Int
For documentation, see android.os.Parcelable.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getDistanceFromStart(): Int
Returns the distance to maneuver from route start point in meters.
Link copied to clipboard
open fun getExitNumber(): String
Returns the exit number.
Link copied to clipboard
open fun getFromIso(): String
Country of from road
Link copied to clipboard
open fun getNextRoadName(): String
For documentation, see android.os.Parcelable.
Link copied to clipboard
open fun getNextRoadNumbers(): List<String>
Returns the number of next the road on which the Maneuver takes place.
Link copied to clipboard
open fun getPosition(): GeoCoordinates
Returns the GeoCoordinate of the maneuver.
Link copied to clipboard
open fun getRoadName(): String
Returns the name of the next road on which the Maneuver takes place.
Link copied to clipboard
open fun getRoadNumbers(): List<String>
Returns the number of the road on which the Maneuver takes place.
Link copied to clipboard
open fun getRoundaboutExit(): Int
Returns the rountabout exit index.
Link copied to clipboard
open fun getToIso(): String
Country of to road
Link copied to clipboard
open fun getType(): Int
Returns the maneuver type.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isValid(): Boolean
Indicates whether the maneuver is valid.
Link copied to clipboard
open fun isValidParcelable(): Boolean
If object after recreate from parcel contains all of reference like original object method return true.
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)
For documentation, see android.os.Parcelable.

Properties

Link copied to clipboard
val CREATOR: Parcelable.Creator<RouteManeuver>