语言

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

属性值

存储的应用非前台要求标志。

特性

注解

这会报告所选要求,而不是应用的当前前台状态。

适用于