Navigator.RouteStatus

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 Navigator.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

The navigator could not calculate a route because the request contained an unrecognized waypoint, or too many waypoints. For example, a waypoint may be unrecognized if it contains a stale or invalid place ID.