SplitInstallErrorCode

public abstract @interface SplitInstallErrorCode
implements Annotation

com.google.android.play.core.splitinstall.model.SplitInstallErrorCode


Status of a download / install.

Summary

Constants

int ACCESS_DENIED

Download not permitted under current device circumstances (e.g.

int ACTIVE_SESSIONS_LIMIT_EXCEEDED

Too many sessions are running for current app, existing sessions must be resolved first.

int API_NOT_AVAILABLE

Split Install API is not available.

int APP_NOT_OWNED

The app is not owned by any user on this device.

int INCOMPATIBLE_WITH_EXISTING_SESSION

Requested session contains modules from an existing active session and also new modules.

int INSUFFICIENT_STORAGE

Install failed due to insufficient storage.

int INTERNAL_ERROR

Unknown error processing split install.

int INVALID_REQUEST

Request is otherwise invalid.

int MODULE_UNAVAILABLE

A requested module is not available (to this user/device, for the installed apk).

int NETWORK_ERROR

Network error: unable to obtain split details.

int NO_ERROR

int PLAY_STORE_NOT_FOUND

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

int SERVICE_DIED

This constant is deprecated. Use Task.addOnFailureListener(Activity, OnFailureListener) instead.

int SESSION_NOT_FOUND

Requested session is not found.

int SPLITCOMPAT_COPY_ERROR

Error in copying files for SplitCompat.

int SPLITCOMPAT_EMULATION_ERROR

Error in SplitCompat emulation.

int SPLITCOMPAT_VERIFICATION_ERROR

Signature verification error when invoking SplitCompat.

Inherited methods

Constants

ACCESS_DENIED

public static final int ACCESS_DENIED

Download not permitted under current device circumstances (e.g. in background).

Constant Value: -7 (0xfffffff9)

ACTIVE_SESSIONS_LIMIT_EXCEEDED

public static final int ACTIVE_SESSIONS_LIMIT_EXCEEDED

Too many sessions are running for current app, existing sessions must be resolved first.

Constant Value: -1 (0xffffffff)

API_NOT_AVAILABLE

public static final int API_NOT_AVAILABLE

Split Install API is not available.

Constant Value: -5 (0xfffffffb)

APP_NOT_OWNED

public static final int 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: -15 (0xfffffff1)

INCOMPATIBLE_WITH_EXISTING_SESSION

public static final int INCOMPATIBLE_WITH_EXISTING_SESSION

Requested session contains modules from an existing active session and also new modules.

Constant Value: -8 (0xfffffff8)

INSUFFICIENT_STORAGE

public static final int INSUFFICIENT_STORAGE

Install failed due to insufficient storage.

Constant Value: -10 (0xfffffff6)

INTERNAL_ERROR

public static final int INTERNAL_ERROR

Unknown error processing split install.

Constant Value: -100 (0xffffff9c)

INVALID_REQUEST

public static final int INVALID_REQUEST

Request is otherwise invalid.

Constant Value: -3 (0xfffffffd)

MODULE_UNAVAILABLE

public static final int MODULE_UNAVAILABLE

A requested module is not available (to this user/device, for the installed apk).

Constant Value: -2 (0xfffffffe)

NETWORK_ERROR

public static final int NETWORK_ERROR

Network error: unable to obtain split details.

Constant Value: -6 (0xfffffffa)

NO_ERROR

public static final int NO_ERROR

Constant Value: 0 (0x00000000)

PLAY_STORE_NOT_FOUND

public static final int PLAY_STORE_NOT_FOUND

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

Constant Value: -14 (0xfffffff2)

SERVICE_DIED

public static final int SERVICE_DIED

This constant is deprecated.
Use Task.addOnFailureListener(Activity, OnFailureListener) instead.

Service handling split install has died.

This error code will be sent with session id = -1 and failed session status when the service handling split install has died. Upon receiving this error code the app should retry the request.

Constant Value: -9 (0xfffffff7)

SESSION_NOT_FOUND

public static final int SESSION_NOT_FOUND

Requested session is not found.

Constant Value: -4 (0xfffffffc)

SPLITCOMPAT_COPY_ERROR

public static final int SPLITCOMPAT_COPY_ERROR

Error in copying files for SplitCompat.

Constant Value: -13 (0xfffffff3)

SPLITCOMPAT_EMULATION_ERROR

public static final int SPLITCOMPAT_EMULATION_ERROR

Error in SplitCompat emulation.

Constant Value: -12 (0xfffffff4)

SPLITCOMPAT_VERIFICATION_ERROR

public static final int SPLITCOMPAT_VERIFICATION_ERROR

Signature verification error when invoking SplitCompat.

Constant Value: -11 (0xfffffff5)