PackageInstaller.InstallConstraints.IsAppNotForegroundRequired 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取安装是否需要应用在前台之外。
public bool IsAppNotForegroundRequired { [Android.Runtime.Register("isAppNotForegroundRequired", "()Z", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isAppNotForegroundRequired", "()Z", "", ApiSince=34)>]
member this.IsAppNotForegroundRequired : bool
属性值
存储的应用非前台要求标志。
- 特性
注解
这会报告所选要求,而不是应用的当前前台状态。