共用方式為


ActivityManager.RunningAppProcessInfo.ImportanceTopSleeping 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 the foreground UI, but the device is asleep so it is not visible to the user.

[Android.Runtime.Register("IMPORTANCE_TOP_SLEEPING", ApiSince=23)]
[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 ImportanceTopSleeping = 150;
[<Android.Runtime.Register("IMPORTANCE_TOP_SLEEPING", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.", true)>]
val mutable ImportanceTopSleeping : Android.App.Importance

Field Value

Value = 150

Implements

Attributes

Remarks

Constant for #importance: This process is running the foreground UI, but the device is asleep so it is not visible to the user. Though the system will try hard to keep its process from being killed, in all other ways we consider it a kind of cached process, with the limitations that go along with that state: network access, running background services, etc.

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

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