googleDirectionLibrary / com.akexorcist.googledirection.constant / RequestResult

RequestResult

open class RequestResult

The status of the request, and may contain debugging information to help you track down why the Directions service failed.

Since
1.0.0

Constructors

<init>

RequestResult()

The status of the request, and may contain debugging information to help you track down why the Directions service failed.

Properties

INVALID_REQUEST

static val INVALID_REQUEST: String

Indicates that the provided request was invalid. Common causes of this status include an invalid parameter or parameter value.

MAX_ROUTE_LENGTH_EXCEEDED

static val MAX_ROUTE_LENGTH_EXCEEDED: String

Indicates the requested route is too long and cannot be processed. This error occurs when more complex directions are returned. Try reducing the number of waypoints, turns, or instructions.

MAX_WAYPOINTS_EXCEEDED

static val MAX_WAYPOINTS_EXCEEDED: String

Indicates that too many waypoints were provided in the request.

NOT_FOUND

static val NOT_FOUND: String

Indicates at least one of the locations specified in the request's origin, destination, or waypoints could not be geocoded.

OK

static val OK: String

Indicates the response contains a valid result.

OVER_DAILY_LIMIT

static val OVER_DAILY_LIMIT: String

Indicates any of the following: • The API key is missing or invalid. • Billing has not been enabled on your account. • A self-imposed usage cap has been exceeded. • The provided method of payment is no longer valid (for example, a credit card has expired).

OVER_QUERY_LIMIT

static val OVER_QUERY_LIMIT: String

Indicates the service has received too many requests from your application within the allowed time period.

REQUEST_DENIED

static val REQUEST_DENIED: String

Indicates that the service denied use of the directions service by your application.

UNKNOWN_ERROR

static val UNKNOWN_ERROR: String

Indicates a directions request could not be processed due to a server error. The request may succeed if you try again.

ZERO_RESULTS

static val ZERO_RESULTS: String

Indicates no route could be found between the origin and destination.