Sdílet prostřednictvím


ServiceInfo.FlagAllowSharedIsolatedProcess Field

Definition

Caution

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

Bit in #flags: If set, and this is an android.R.attr#isolatedProcess service, the service is allowed to be bound in a shared isolated process with other isolated services.

[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

Field Value

Value = 16

Implements

Attributes

Remarks

Bit in #flags: If set, and this is an android.R.attr#isolatedProcess service, the service is allowed to be bound in a shared isolated process with other isolated services. Note that these other isolated services can also belong to other apps from different vendors.

Shared isolated processes are created when using the android.content.Context#BIND_SHARED_ISOLATED_PROCESS) during service binding.

Note that when this flag is used, the {@link android.R.attr#process attribute is ignored when the process is bound into a shared isolated process by a client.

Java documentation for android.content.pm.ServiceInfo.FLAG_ALLOW_SHARED_ISOLATED_PROCESS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to