Lingua

PackageInstaller.InstallConstraints.Builder.SetAppNotTopVisibleRequired Method

Definition

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.

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

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