InheritExisting

data class InheritExisting(val packageName: String) : InstallMode

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 Full.

When using INTENT_BASED installer, this mode is ignored.

Constructors

Link copied to clipboard
constructor(packageName: String)

Properties

Link copied to clipboard

Package name of the app being installed. If the APKs staged in the session aren't consistent with this package name, the install will fail.