RoutingInfo
@CarProtocol
class RoutingInfo : NavigationTemplate.NavigationInfo
Represents routing information that can be shown in the NavigationTemplate during navigation
Summary
Nested types |
|---|
class RoutingInfo.BuilderA builder of |
Public functions |
|
|---|---|
Boolean |
|
Distance? |
Returns the current distance to display to the user or |
Step? |
Returns the current step to display to the user or |
CarIcon? |
Returns an image for a junction of the maneuver or |
Step? |
|
Int |
hashCode() |
Boolean |
Returns whether the routing info is in a loading state. |
String |
toString() |
Public functions
getCurrentDistance
fun getCurrentDistance(): Distance?
Returns the current distance to display to the user or null if not set.
| See also | |
|---|---|
setCurrentStep |
getCurrentStep
fun getCurrentStep(): Step?
Returns the current step to display to the user or null if not set.
| See also | |
|---|---|
setCurrentStep |
getJunctionImage
fun getJunctionImage(): CarIcon?
Returns an image for a junction of the maneuver or null if not set.
| See also | |
|---|---|
setJunctionImage |
isLoading
fun isLoading(): Boolean
Returns whether the routing info is in a loading state.
| See also | |
|---|---|
setLoading |