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