public class

PlacesStatusCodes

extends CommonStatusCodes
java.lang.Object
   ↳ com.google.android.gms.common.api.CommonStatusCodes
     ↳ com.google.android.gms.location.places.PlacesStatusCodes

Class Overview

Places API specific status codes, for use in getStatusCode()

Summary

Constants
int ACCESS_NOT_CONFIGURED Operation failed due to an invalid quota project.
int DEVICE_RATE_LIMIT_EXCEEDED The per-device rate limit (QPS limit) for the device has been exceeded.
int INVALID_ARGUMENT Operation failed due to an invalid argument.
int KEY_EXPIRED Operation failed due to an expired API key.
int KEY_INVALID Operation failed due to an invalid API key.
int RATE_LIMIT_EXCEEDED The overall rate limit (QPS limit) for the developer has been exceeded.
int USAGE_LIMIT_EXCEEDED The usage limit has been exceeded (could be daily or some other period).
[Expand]
Inherited Constants
From class com.google.android.gms.common.api.CommonStatusCodes
Public Methods
static String getStatusCodeString(int statusCode)
[Expand]
Inherited Methods
From class com.google.android.gms.common.api.CommonStatusCodes
From class java.lang.Object

Constants

public static final int ACCESS_NOT_CONFIGURED

Operation failed due to an invalid quota project.

Constant Value: 9003 (0x0000232b)

public static final int DEVICE_RATE_LIMIT_EXCEEDED

The per-device rate limit (QPS limit) for the device has been exceeded.

Constant Value: 9006 (0x0000232e)

public static final int INVALID_ARGUMENT

Operation failed due to an invalid argument.

Constant Value: 9004 (0x0000232c)

public static final int KEY_EXPIRED

Operation failed due to an expired API key.

Constant Value: 9007 (0x0000232f)

public static final int KEY_INVALID

Operation failed due to an invalid API key.

Constant Value: 9002 (0x0000232a)

public static final int RATE_LIMIT_EXCEEDED

The overall rate limit (QPS limit) for the developer has been exceeded.

Constant Value: 9005 (0x0000232d)

public static final int USAGE_LIMIT_EXCEEDED

The usage limit has been exceeded (could be daily or some other period).

Constant Value: 9001 (0x00002329)

Public Methods

public static String getStatusCodeString (int statusCode)

Returns
  • untranslated debug (not user-friendly!) string based on the current status code.