Language

Resource.Attribute.State Field

Definition

Value of the process state that this memory budget should apply to.

[Android.Runtime.Register("state", ApiSince=37)]
public const int State = 16844479;
[<Android.Runtime.Register("state", ApiSince=37)>]
val mutable State : int

Field Value

Value = 16844479
Attributes

Remarks

The defined state codes are foreground (100), perceptible (200), and background (300). The manifest parser selects foreground when the attribute is absent. For a process, a budget with a matching or unspecified feature applies when its declared state is at least as important as the process's state.

Applies to