DirectionInfo

open class DirectionInfo : BaseNativeParcelable

Class containing information about direction. This class is passed as parameter in NavigationManager.OnDirectionListener listener.

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
getDistance
Link copied to clipboard
open fun getDistance(): Int
Returns distance to next direction change represented in RouteManeuver class
getNextDistance
Link copied to clipboard
open fun getNextDistance(): Int
getPrimary
Link copied to clipboard
open fun getPrimary(): RouteManeuver
Returns object of RouteManeuver class containing information about next maneuver
getSecondary
Link copied to clipboard
open fun getSecondary(): RouteManeuver
Returns object of RouteManeuver class containing information about maneuver after following after primary maneuver
getTunnelRemainingDistance
Link copied to clipboard
open fun getTunnelRemainingDistance(): Int
hashCode
Link copied to clipboard
open fun hashCode(): Int
isInTunnel
Link copied to clipboard
open fun isInTunnel(): Boolean
isValidParcelable
Link copied to clipboard
open fun isValidParcelable(): Boolean
If object after recreate from parcel contains all of reference like original object method returntrue.
toString
Link copied to clipboard
open fun toString(): String
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<DirectionInfo>