语言

ServiceInfo.FlagIsolatedProcess 字段

定义

注意

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_ISOLATED_PROCESS")]
[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 FlagIsolatedProcess = 2;
[<Android.Runtime.Register("FLAG_ISOLATED_PROCESS")>]
[<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 FlagIsolatedProcess : Android.Content.PM.ServiceInfoFlags

字段值

Value = 2

实现

特性

注解

位: #flags如果已设置,服务将在其自己的独立进程中运行。 从属性设置 android.R.attr#isolatedProcess 。

Java文档android.content.pm.ServiceInfo.FLAG_ISOLATED_PROCESS。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于