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_APP_NOT_OWNED

The app is not owned by any user 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_PLAY_STORE_NOT_FOUND

The Play Store app is either not installed or not the official version.

int ERROR_UNKNOWN

An unknown error occurred.

int NO_ERROR

No error occurred.

Inherited methods

Constants

ERROR_API_NOT_AVAILABLE

public static final int ERROR_API_NOT_AVAILABLE

The API is not available on this device.

Constant Value: -3 (0xfffffffd)

ERROR_APP_NOT_OWNED

public static final int ERROR_APP_NOT_OWNED

The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play.

Constant Value: -10 (0xfffffff6)

ERROR_DOWNLOAD_NOT_PRESENT

public static final int ERROR_DOWNLOAD_NOT_PRESENT

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

Constant Value: -7 (0xfffffff9)

ERROR_INSTALL_IN_PROGRESS

public static final 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

public static final 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

public static final int ERROR_INSTALL_UNAVAILABLE

The install is unavailable to this user or device.

Constant Value: -5 (0xfffffffb)

ERROR_INTERNAL_ERROR

public static final int ERROR_INTERNAL_ERROR

An internal error happened in the Play Store.

Constant Value: -100 (0xffffff9c)

ERROR_INVALID_REQUEST

public static final int ERROR_INVALID_REQUEST

The request that was sent by the app is malformed.

Constant Value: -4 (0xfffffffc)

ERROR_PLAY_STORE_NOT_FOUND

public static final int ERROR_PLAY_STORE_NOT_FOUND

The Play Store app is either not installed or not the official version.

Constant Value: -9 (0xfffffff7)

ERROR_UNKNOWN

public static final int ERROR_UNKNOWN

An unknown error occurred.

Constant Value: -2 (0xfffffffe)

NO_ERROR

public static final int NO_ERROR

No error occurred.

Constant Value: 0 (0x00000000)