다음을 통해 공유


Context.BindPackageIsolatedProcess Field

Definition

Caution

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

Flag for #bindIsolatedService: Bind the service into a shared isolated process, but only with other isolated services from the same package that declare the same process name.

[Android.Runtime.Register("BIND_PACKAGE_ISOLATED_PROCESS", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)]
public const Android.Content.Bind BindPackageIsolatedProcess = 16384;
[<Android.Runtime.Register("BIND_PACKAGE_ISOLATED_PROCESS", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)>]
val mutable BindPackageIsolatedProcess : Android.Content.Bind

Field Value

Value = 16384
Attributes

Remarks

Flag for #bindIsolatedService: Bind the service into a shared isolated process, but only with other isolated services from the same package that declare the same process name.

Specifying this flag allows multiple isolated services defined in the same package to be running in a single shared isolated process. This shared isolated process must be specified since this flag will not work with the default application process.

This flag is different from #BIND_SHARED_ISOLATED_PROCESS since it only allows binding services from the same package in the same shared isolated process. This also means the shared package isolated process is global, and not scoped to each potential calling app.

The shared isolated process instance is identified by the "android:process" attribute defined by the service. This flag cannot be used without this attribute set.

Java documentation for android.content.Context.BIND_PACKAGE_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