Language

StagedSession Enum

Definition

Identifies error codes for staged package-installer sessions.

public enum StagedSession
type StagedSession = 
Inheritance
StagedSession

Fields

Name Value Description
NoError 0

This constant was deprecated in API level 33. use SESSION_NO_ERROR.

Android reference for android.content.pm.PackageInstaller.SessionInfo.STAGED_SESSION_NO_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VerificationFailed 1

This constant was deprecated in API level 33. use SESSION_VERIFICATION_FAILED.

Android reference for android.content.pm.PackageInstaller.SessionInfo.STAGED_SESSION_VERIFICATION_FAILED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ActivationFailed 2

This constant was deprecated in API level 33. use SESSION_ACTIVATION_FAILED.

Android reference for android.content.pm.PackageInstaller.SessionInfo.STAGED_SESSION_ACTIVATION_FAILED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Unknown 3

This constant was deprecated in API level 33. use SESSION_UNKNOWN_ERROR.

Android reference for android.content.pm.PackageInstaller.SessionInfo.STAGED_SESSION_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Conflict 4

This constant was deprecated in API level 33. use SESSION_CONFLICT.

Android reference for android.content.pm.PackageInstaller.SessionInfo.STAGED_SESSION_CONFLICT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The staged-session codes distinguish no error, verification failure, activation failure, an unknown error, and a session conflict.

Applies to