PackageInstaller.SessionInfo.StagedSessionErrorCode Property

Definition

If something went wrong with a staged session, clients can check this error code to understand which kind of failure happened.

public virtual Android.Content.PM.StagedSession StagedSessionErrorCode { [Android.Runtime.Register("getStagedSessionErrorCode", "()I", "GetGetStagedSessionErrorCodeHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getStagedSessionErrorCode", "()I", "GetGetStagedSessionErrorCodeHandler", ApiSince=29)>]
member this.StagedSessionErrorCode : Android.Content.PM.StagedSession

Property Value

Attributes

Remarks

If something went wrong with a staged session, clients can check this error code to understand which kind of failure happened. Only meaningful if isStaged is true.

Java documentation for android.content.pm.PackageInstaller.SessionInfo.getStagedSessionErrorCode().

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.

Applies to