Condividi tramite


ActivityManager.RunningAppProcessInfo.ImportanceCantSaveState Field

Definition

Caution

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

Constant for #importance: This process is running an application that can not save its state, and thus can't be killed while in the background.

[Android.Runtime.Register("IMPORTANCE_CANT_SAVE_STATE", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.", true)]
public const Android.App.Importance ImportanceCantSaveState = 350;
[<Android.Runtime.Register("IMPORTANCE_CANT_SAVE_STATE", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.", true)>]
val mutable ImportanceCantSaveState : Android.App.Importance

Field Value

Value = 350

Implements

Attributes

Remarks

Constant for #importance: This process is running an application that can not save its state, and thus can't be killed while in the background. This will be used with apps that have android.R.attr#cantSaveState set on their application tag.

Java documentation for android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_CANT_SAVE_STATE.

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