PackageInstaller.SessionInfo.Mode Property

Definition

Get the mode of the session as set in the constructor of the SessionParams.

public virtual Android.Content.PM.PackageInstallMode Mode { [Android.Runtime.Register("getMode", "()I", "GetGetModeHandler", ApiSince=27)] get; }
[<get: Android.Runtime.Register("getMode", "()I", "GetGetModeHandler", ApiSince=27)>]
member this.Mode : Android.Content.PM.PackageInstallMode

Property Value

One of SessionParams#MODE_FULL_INSTALL or SessionParams#MODE_INHERIT_EXISTING

Attributes

Remarks

Get the mode of the session as set in the constructor of the SessionParams.

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

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