Sdílet prostřednictvím


Context.BindNotPerceptible Field

Definition

Caution

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

Flag for #bindService: If binding from an app that is visible or user-perceptible, lower the target service's importance to below the perceptible level.

[Android.Runtime.Register("BIND_NOT_PERCEPTIBLE", ApiSince=30)]
[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 BindNotPerceptible = 256;
[<Android.Runtime.Register("BIND_NOT_PERCEPTIBLE", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)>]
val mutable BindNotPerceptible : Android.Content.Bind

Field Value

Value = 256
Attributes

Remarks

Flag for #bindService: If binding from an app that is visible or user-perceptible, lower the target service's importance to below the perceptible level. This allows the system to (temporarily) expunge the bound process from memory to make room for more important user-perceptible processes.

Java documentation for android.content.Context.BIND_NOT_PERCEPTIBLE.

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