Freigeben über


PackageInstaller.SessionInfo.CreateDetailsIntent Method

Definition

Return an Intent that can be started to view details about this install session.

[Android.Runtime.Register("createDetailsIntent", "()Landroid/content/Intent;", "GetCreateDetailsIntentHandler")]
public virtual Android.Content.Intent? CreateDetailsIntent ();
[<Android.Runtime.Register("createDetailsIntent", "()Landroid/content/Intent;", "GetCreateDetailsIntentHandler")>]
abstract member CreateDetailsIntent : unit -> Android.Content.Intent
override this.CreateDetailsIntent : unit -> Android.Content.Intent

Returns

Attributes

Remarks

Return an Intent that can be started to view details about this install session. This may surface actions such as pause, resume, or cancel.

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

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

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