Język

PackageInstallMode Enum

Definition

Enumerates values returned by the FullInstall, and InheritExisting members and taken as a parameter of the F:Android.Content.PM.PackageInstaller+SessionParams..ctor member.

public enum PackageInstallMode
type PackageInstallMode = 
Inheritance
PackageInstallMode

Fields

Name Value Description
FullInstall 1

Mode for an install session whose staged APKs should fully replace any existing APKs for the target app.

Android reference for android.content.pm.PackageInstaller.SessionParams.MODE_FULL_INSTALL.

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.

InheritExisting 2

Mode for an install session that should inherit any existing APKs for the target app, unless they have been explicitly overridden (based on split name) by the session. For example, this can be used to add one or more split APKs to an existing installation. If there are no existing APKs for the target app, this behaves like MODE_FULL_INSTALL.

Android reference for android.content.pm.PackageInstaller.SessionParams.MODE_INHERIT_EXISTING.

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.

Remarks

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