語言

PackageInstaller.InstallConstraints.Builder.SetAppNotTopVisibleRequired 方法

定義

此限制要求該應用程式對使用者而言並非頂端可見。

[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

傳回

屬性

備註

此限制要求該應用程式對使用者而言並非頂端可見。 頂可見的應用程式會在螢幕頂端顯示使用者互動的使用者介面。 請注意,此限制是 setAppNotForegroundRequired() 的子集,因為頂可見的應用程式同時也是前景應用程式。 這也是 setAppNotInteractingRequired() 的子集,因為頂層可見的應用程式會與使用者互動。

Android 參考資料。android.content.pm.PackageInstaller.InstallConstraints.Builder.setAppNotTopVisibleRequired

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於