An ErrorCode is a status code returned by getNavigator(Activity, NavigatorListener)
and getNavigator(Application, NavigatorListener)
when a Navigator
could not be
successfully obtained.
Constant Summary
int | LOCATION_PERMISSION_MISSING | Permission to use GPS location has not been granted to the app. |
int | NETWORK_ERROR | The Navigation API is unable to access the internet. |
int | NOT_AUTHORIZED | The API key you supplied is not authorized to use the Navigation API. |
int | TERMS_NOT_ACCEPTED | The user has not accepted Google's Navigation terms. |
Inherited Method Summary
Constants
public static final int LOCATION_PERMISSION_MISSING
Permission to use GPS location has not been granted to the app.
public static final int NETWORK_ERROR
The Navigation API is unable to access the internet.
public static final int NOT_AUTHORIZED
The API key you supplied is not authorized to use the Navigation API. You may need to request provisioning of the Navigation SDK through your Google Maps APIs representative. Your app should fall back to another navigation mechanism if this code is received.
public static final int TERMS_NOT_ACCEPTED
The user has not accepted Google's Navigation terms.