RoutingInfo


@CarProtocol
class RoutingInfo : NavigationTemplate.NavigationInfo


Represents routing information that can be shown in the NavigationTemplate during navigation

Summary

Nested types

A builder of RoutingInfo.

Public functions

Boolean
equals(other: Any?)
Distance?

Returns the current distance to display to the user or null if not set.

Step?

Returns the current step to display to the user or null if not set.

CarIcon?

Returns an image for a junction of the maneuver or null if not set.

Step?
Int
Boolean

Returns whether the routing info is in a loading state.

String

Public functions

equals

fun equals(other: Any?): Boolean

getCurrentDistance

Added in 1.0.0
fun getCurrentDistance(): Distance?

Returns the current distance to display to the user or null if not set.

See also
setCurrentStep

getCurrentStep

Added in 1.0.0
fun getCurrentStep(): Step?

Returns the current step to display to the user or null if not set.

See also
setCurrentStep

getJunctionImage

Added in 1.0.0
fun getJunctionImage(): CarIcon?

Returns an image for a junction of the maneuver or null if not set.

See also
setJunctionImage

getNextStep

Added in 1.0.0
fun getNextStep(): Step?

hashCode

fun hashCode(): Int

isLoading

Added in 1.0.0
fun isLoading(): Boolean

Returns whether the routing info is in a loading state.

See also
setLoading

toString

fun toString(): String