Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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 INCOMPATIBLE_WITH_EXISTING_SESSION

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

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 SERVICE_DIED

Service handling split install has died.

int SESSION_NOT_FOUND

Requested session is not found.

Inherited methods

From interface java.lang.annotation.Annotation

Constants

ACCESS_DENIED

int ACCESS_DENIED

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

Constant Value: -7 (0xfffffff9)

ACTIVE_SESSIONS_LIMIT_EXCEEDED

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

int API_NOT_AVAILABLE

Split Install API is not available.

Constant Value: -5 (0xfffffffb)

INCOMPATIBLE_WITH_EXISTING_SESSION

int INCOMPATIBLE_WITH_EXISTING_SESSION

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

Constant Value: -8 (0xfffffff8)

INTERNAL_ERROR

int INTERNAL_ERROR

Unknown error processing split install.

Constant Value: -100 (0xffffff9c)

INVALID_REQUEST

int INVALID_REQUEST

Request is otherwise invalid.

Constant Value: -3 (0xfffffffd)

MODULE_UNAVAILABLE

int MODULE_UNAVAILABLE

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

Constant Value: -2 (0xfffffffe)

NETWORK_ERROR

int NETWORK_ERROR

Network error: unable to obtain split details

Constant Value: -6 (0xfffffffa)

NO_ERROR

int NO_ERROR

Constant Value: 0 (0x00000000)

SERVICE_DIED

int SERVICE_DIED

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

int SESSION_NOT_FOUND

Requested session is not found.

Constant Value: -4 (0xfffffffc)