BetterRouteInfo

open class BetterRouteInfo : BaseNativeParcelable

Class containing information about better route

Constructors

BetterRouteInfo
Link copied to clipboard
open fun BetterRouteInfo(timeDiff: Int, lengthDiff: Int, splitDistance: Int, splitPoint: GeoCoordinates, detourAreaBoundary: GeoBoundingBox, alternativeRoute: Route)

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
open fun describeContents(): Int
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
getAlternativeRoute
Link copied to clipboard
open fun getAlternativeRoute(): Route
Alternative route
getDetourAreaBoundary
Link copied to clipboard
open fun getDetourAreaBoundary(): GeoBoundingBox
Geo boundary created with split point and merge point of base route and alternative route
getLengthDiff
Link copied to clipboard
open fun getLengthDiff(): Int
Length difference in meters between new alternative route and the base route
getSplitDistance
Link copied to clipboard
open fun getSplitDistance(): Int
Route length in meters from base route start position to point, where alternative route splits
getSplitPoint
Link copied to clipboard
open fun getSplitPoint(): GeoCoordinates
Position of the point where alternative route splits the base route
getTimeDiff
Link copied to clipboard
open fun getTimeDiff(): Int
Time difference in seconds between new alternative route and the base route
hashCode
Link copied to clipboard
open fun hashCode(): Int
isValidParcelable
Link copied to clipboard
open fun isValidParcelable(): Boolean
If object after recreate from parcel contains all of reference like original object method returntrue.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p: Parcel, p1: Int)
open fun writeToParcel(dest: Parcel, flags: Int)

Properties

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