ServiceInfo.FlagStopWithTask 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.
位输入 #flags:如果已设置,则如果用户删除了一项植根于应用程序活动的任务,服务将自动被系统停止。
[Android.Runtime.Register("FLAG_STOP_WITH_TASK")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)]
public const Android.Content.PM.ServiceInfoFlags FlagStopWithTask = 1;
[<Android.Runtime.Register("FLAG_STOP_WITH_TASK")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)>]
val mutable FlagStopWithTask : Android.Content.PM.ServiceInfoFlags
字段值
Value = 1实现
- 特性
注解
位输入 #flags:如果已设置,则如果用户删除了一项植根于应用程序活动的任务,服务将自动被系统停止。 从属性设置 android.R.attr#stopWithTask 。
Java文档android.content.pm.ServiceInfo.FLAG_STOP_WITH_TASK。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。