PackageInstaller.InstallConstraints.Builder.SetAppNotTopVisibleRequired 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 top-visible to the user.
[Android.Runtime.Register("setAppNotTopVisibleRequired", "()Landroid/content/pm/PackageInstaller$InstallConstraints$Builder;", "", ApiSince=34)]
public Android.Content.PM.PackageInstaller.InstallConstraints.Builder SetAppNotTopVisibleRequired();
[<Android.Runtime.Register("setAppNotTopVisibleRequired", "()Landroid/content/pm/PackageInstaller$InstallConstraints$Builder;", "", ApiSince=34)>]
member this.SetAppNotTopVisibleRequired : unit -> Android.Content.PM.PackageInstaller.InstallConstraints.Builder
Returns
- Attributes
Remarks
This constraint requires the app in question is not top-visible to the user. A top-visible app is showing UI at the top of the screen that the user is interacting with. Note this constraint is a subset of setAppNotForegroundRequired() because a top-visible app is also a foreground app. This is also a subset of setAppNotInteractingRequired() because a top-visible app is interacting with the user.
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.