Language

MemoryBudgetInfo.StateForeground Field

Definition

Caution

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

Indicates that this MemoryBudgetInfo can apply to a process that is in the foreground (or in a less important state).

[Android.Runtime.Register("STATE_FOREGROUND", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.MemoryBudgetInfoState enum directly instead of this field.", true)]
public const Android.Content.PM.MemoryBudgetInfoState StateForeground = 100;
[<Android.Runtime.Register("STATE_FOREGROUND", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.MemoryBudgetInfoState enum directly instead of this field.", true)>]
val mutable StateForeground : Android.Content.PM.MemoryBudgetInfoState

Field Value

Value = 100

Implements

Attributes

Remarks

Indicates that this MemoryBudgetInfo can apply to a process that is in the foreground (or in a less important state). This is the default if "state" is not specified in the manifest.

Android reference for android.content.pm.MemoryBudgetInfo.STATE_FOREGROUND.

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