PackageManager.DontKillApp 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.
用于指示你不想终止包含组件的应用的标志参数 #setComponentEnabledSetting(android.content.ComponentName, int, int) 。
[Android.Runtime.Register("DONT_KILL_APP")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)]
public const Android.Content.PM.ComponentEnableOption DontKillApp = 1;
[<Android.Runtime.Register("DONT_KILL_APP")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)>]
val mutable DontKillApp : Android.Content.PM.ComponentEnableOption
字段值
Value = 1- 特性
注解
用于指示你不想终止包含组件的应用的标志参数 #setComponentEnabledSetting(android.content.ComponentName, int, int) 。 设置此项时请小心,因为更改组件状态会使包含应用程序的行为不可预知。
Java文档android.content.pm.PackageManager.DONT_KILL_APP。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。