RouteManeuver

open class RouteManeuver : BaseNativeParcelable

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

Constructors

RouteManeuver
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

Type
Link copied to clipboard
annotation class Type

Functions

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

Properties

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