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
From class
java.lang.Enum
final
int
compareTo(E arg0)
int
compareTo(Object arg0)
final
boolean
equals(Object arg0)
final
Class<E>
getDeclaringClass()
final
int
hashCode()
final
String
name()
final
int
ordinal()
String
toString()
static
<T extends Enum<T>>
T
valueOf(Class<T> arg0, String arg1)
From class
java.lang.Object
boolean
equals(Object arg0)
final
Class<?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
From interface
java.lang.Comparable
abstract
int
compareTo(E extends Enum<E> arg0)
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. For calls
to ERROR(/setDestination) or ERROR(/setDestinations) with a route token, the quota is used
from "Set Destination with Route Token". Otherwise the "Set Destination" quota is used.
Address the issue in the "Quotas" section of the Google Cloud Console. Quota updates take effect
on the next route request, without needing to restart the app.
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.