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. A budget can also apply to a less important state when no budget exists for that state.

Applies to