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 NoError instead.

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 VerificationFailed instead.

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 ActivationFailed instead.

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 UnknownError instead.

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 Conflict instead.

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