ServiceInfo.FlagAllowSharedIsolatedProcess 字段

定义

注意

This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.

位: #flags如果已设置,并且这是一项 android.R.attr#isolatedProcess 服务,则允许该服务与其他隔离服务在共享隔离进程中绑定。

[Android.Runtime.Register("FLAG_ALLOW_SHARED_ISOLATED_PROCESS", ApiSince=34)]
[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 FlagAllowSharedIsolatedProcess = 16;
[<Android.Runtime.Register("FLAG_ALLOW_SHARED_ISOLATED_PROCESS", ApiSince=34)>]
[<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 FlagAllowSharedIsolatedProcess : Android.Content.PM.ServiceInfoFlags

字段值

Value = 16

实现

属性

注解

位: #flags如果已设置,并且这是一项 android.R.attr#isolatedProcess 服务,则允许该服务与其他隔离服务在共享隔离进程中绑定。 请注意,这些其他独立服务也可以属于来自不同供应商的其他应用。

在服务绑定期间使用 android.content.Context#BIND_SHARED_ISOLATED_PROCESS) 时,将创建共享独立进程。

请注意,使用此标志时,{@link android。当进程被客户端绑定到共享隔离进程时,将忽略 R.attr#process 属性。

适用于 . 的 android.content.pm.ServiceInfo.FLAG_ALLOW_SHARED_ISOLATED_PROCESSJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于