InstallErrorCode

public abstract @interface InstallErrorCode
implements Annotation

com.google.android.play.core.install.model.InstallErrorCode


StatusCodes used by InstallService.

Summary

Constants

int ERROR_API_NOT_AVAILABLE

The API is not available on this device.

int ERROR_DOWNLOAD_NOT_PRESENT

The install/update has not been (fully) downloaded yet.

int ERROR_INSTALL_IN_PROGRESS

The install is already in progress and there is no UI flow to resume.

int ERROR_INSTALL_NOT_ALLOWED

The download/install is not allowed, due to the current device state (e.g.

int ERROR_INSTALL_UNAVAILABLE

The install is unavailable to this user or device.

int ERROR_INTERNAL_ERROR

An internal error happened in the Play Store.

int ERROR_INVALID_REQUEST

The request that was sent by the app is malformed.

int ERROR_UNKNOWN

An unknown error occurred.

int NO_ERROR

No error occurred; all types of update flow are allowed.

int NO_ERROR_PARTIALLY_ALLOWED

No error occurred; only some types of update flow are allowed, while others are forbidden.

Inherited methods

From interface java.lang.annotation.Annotation

Constants

ERROR_API_NOT_AVAILABLE

int ERROR_API_NOT_AVAILABLE

The API is not available on this device.

Constant Value: -3 (0xfffffffd)

ERROR_DOWNLOAD_NOT_PRESENT

int ERROR_DOWNLOAD_NOT_PRESENT

The install/update has not been (fully) downloaded yet.

Constant Value: -7 (0xfffffff9)

ERROR_INSTALL_IN_PROGRESS

int ERROR_INSTALL_IN_PROGRESS

The install is already in progress and there is no UI flow to resume.

Constant Value: -8 (0xfffffff8)

ERROR_INSTALL_NOT_ALLOWED

int ERROR_INSTALL_NOT_ALLOWED

The download/install is not allowed, due to the current device state (e.g. low battery, low disk space, ...).

Constant Value: -6 (0xfffffffa)

ERROR_INSTALL_UNAVAILABLE

int ERROR_INSTALL_UNAVAILABLE

The install is unavailable to this user or device.

Constant Value: -5 (0xfffffffb)

ERROR_INTERNAL_ERROR

int ERROR_INTERNAL_ERROR

An internal error happened in the Play Store.

Constant Value: -100 (0xffffff9c)

ERROR_INVALID_REQUEST

int ERROR_INVALID_REQUEST

The request that was sent by the app is malformed.

Constant Value: -4 (0xfffffffc)

ERROR_UNKNOWN

int ERROR_UNKNOWN

An unknown error occurred.

Constant Value: -2 (0xfffffffe)

NO_ERROR

int NO_ERROR

No error occurred; all types of update flow are allowed.

Constant Value: 0 (0x00000000)

NO_ERROR_PARTIALLY_ALLOWED

int NO_ERROR_PARTIALLY_ALLOWED

No error occurred; only some types of update flow are allowed, while others are forbidden.

Constant Value: 1 (0x00000001)