PackageInstaller.InstallConstraints.Builder.SetAppNotForegroundRequired Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.