Aracılığıyla paylaş


PackageInstaller.ActionSessionDetails Field

Definition

Activity Action: Show details about a particular install session.

[Android.Runtime.Register("ACTION_SESSION_DETAILS")]
public const string ActionSessionDetails;
[<Android.Runtime.Register("ACTION_SESSION_DETAILS")>]
val mutable ActionSessionDetails : string

Field Value

Attributes

Remarks

Activity Action: Show details about a particular install session. This may surface actions such as pause, resume, or cancel.

This should always be scoped to the installer package that owns the session. Clients should use SessionInfo#createDetailsIntent() to build this intent correctly.

In some cases, a matching Activity may not exist, so ensure you safeguard against this.

The session to show details for is defined in #EXTRA_SESSION_ID.

Java documentation for android.content.pm.PackageInstaller.ACTION_SESSION_DETAILS.

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