DirectionInfo

open class DirectionInfo : BaseNativeParcelable

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

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getDistance(): Int
Returns distance to next direction change represented in RouteManeuver class
Link copied to clipboard
open fun getNextDistance(): Int
Link copied to clipboard
open fun getPrimary(): RouteManeuver
Returns object of RouteManeuver class containing information about next maneuver
Link copied to clipboard
open fun getSecondary(): RouteManeuver
Returns object of RouteManeuver class containing information about maneuver after following after primary maneuver
Link copied to clipboard
open fun getTunnelRemainingDistance(): Int
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isInTunnel(): Boolean
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 toString(): String
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)

Properties

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