PackageInstaller.SessionInfo.IsAutoInstallDependenciesEnabled Property

Definition

Check whether missing SDK or static shared library dependencies should be automatically fetched and installed when installing an app that wants to use these dependencies.

public virtual bool IsAutoInstallDependenciesEnabled { [Android.Runtime.Register("isAutoInstallDependenciesEnabled", "()Z", "GetIsAutoInstallDependenciesEnabledHandler", ApiSince=36)] get; }
[<get: Android.Runtime.Register("isAutoInstallDependenciesEnabled", "()Z", "GetIsAutoInstallDependenciesEnabledHandler", ApiSince=36)>]
member this.IsAutoInstallDependenciesEnabled : bool

Property Value

true if the dependencies will be auto-installed, false otherwise.

Attributes

Remarks

Check whether missing SDK or static shared library dependencies should be automatically fetched and installed when installing an app that wants to use these dependencies.

Note that in the case of a multi-package installation session, no dependencies will be automatically installed even if this method returns true.

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

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