PackageInstaller.SessionInfo.InstallReason Property

Definition

Return the reason for installing this package.

public virtual Android.Content.PM.PackageInstallReason InstallReason { [Android.Runtime.Register("getInstallReason", "()I", "GetGetInstallReasonHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getInstallReason", "()I", "GetGetInstallReasonHandler", ApiSince=26)>]
member this.InstallReason : Android.Content.PM.PackageInstallReason

Property Value

The install reason.

Attributes

Remarks

Return the reason for installing this package.

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

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