On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

Navigator.RouteStatus

Stay organized with collections Save and categorize content based on your preferences.
public static final enum Navigator.RouteStatus extends Enum<Navigator.RouteStatus>

A RouteStatus is a status code that represents the result of a route calculation, accessed via the Future returned by setDestination(Waypoint).

Inherited Method Summary

Enum Values

public static final Navigator.RouteStatus LOCATION_DISABLED

A route could not be calculated because GPS location was turned off by the user.

public static final Navigator.RouteStatus LOCATION_UNKNOWN

A route could not be calculated because a location fix was not obtained in time.

public static final Navigator.RouteStatus NETWORK_ERROR

A route to the destination could not be calculated because of a network error.

public static final Navigator.RouteStatus NO_ROUTE_FOUND

A route to the destination could not be calculated.

public static final Navigator.RouteStatus OK

A route to the destination was successfully calculated.

public static final Navigator.RouteStatus QUOTA_CHECK_FAILED

A route to the destination could not be calculated because of insufficient quota.

public static final Navigator.RouteStatus ROUTE_CANCELED

The route calculation was canceled in favor of a newer one.

public static final Navigator.RouteStatus WAYPOINT_ERROR

A route could not be calculated because there was a problem with the waypoints provided in the request. For example, a stale or invalid Place ID may have been provided.