語言

PackageInstaller.InstallConstraints.IsAppNotForegroundRequired 屬性

定義

會判斷安裝是否需要應用程式置於前景之外。

public bool IsAppNotForegroundRequired { [Android.Runtime.Register("isAppNotForegroundRequired", "()Z", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isAppNotForegroundRequired", "()Z", "", ApiSince=34)>]
member this.IsAppNotForegroundRequired : bool

屬性值

儲存的應用程式非前景需求旗標。

屬性

備註

這會顯示一個選定的需求,而不是應用程式目前的前景狀態。

適用於