Language

PackageInstaller.InstallConstraints.Builder.SetAppNotForegroundRequired Method

Definition

This constraint requires the app in question is not in the foreground.

[Android.Runtime.Register("setAppNotForegroundRequired", "()Landroid/content/pm/PackageInstaller$InstallConstraints$Builder;", "", ApiSince=34)]
public Android.Content.PM.PackageInstaller.InstallConstraints.Builder SetAppNotForegroundRequired();
[<Android.Runtime.Register("setAppNotForegroundRequired", "()Landroid/content/pm/PackageInstaller$InstallConstraints$Builder;", "", ApiSince=34)>]
member this.SetAppNotForegroundRequired : unit -> Android.Content.PM.PackageInstaller.InstallConstraints.Builder

Returns

Attributes

Remarks

This constraint requires the app in question is not in the foreground.

Android reference for android.content.pm.PackageInstaller.InstallConstraints.Builder.setAppNotForegroundRequired.

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