PackageInstaller.StagedSessions Property

Definition

Return list of all staged install sessions.

public virtual System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo> StagedSessions { [Android.Runtime.Register("getStagedSessions", "()Ljava/util/List;", "GetGetStagedSessionsHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getStagedSessions", "()Ljava/util/List;", "GetGetStagedSessionsHandler", ApiSince=29)>]
member this.StagedSessions : System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo>

Property Value

Attributes

Remarks

Return list of all staged install sessions. Callers need to either declare &lt;queries&gt; element with the specific package name in the app's manifest, have the android.permission.QUERY_ALL_PACKAGES, or be the session owner to retrieve these details.

Java documentation for android.content.pm.PackageInstaller.getStagedSessions().

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