Share via


ActivityManager.RunningAppProcessInfo.ImportancePerceptiblePre26 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: #IMPORTANCE_PERCEPTIBLE had this wrong value before Build.VERSION_CODES#O.

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

Field Value

Value = 130

Implements

Attributes

Remarks

Constant for #importance: #IMPORTANCE_PERCEPTIBLE had this wrong value before Build.VERSION_CODES#O. Since the Build.VERSION_CODES#O SDK, the value of #IMPORTANCE_PERCEPTIBLE has been fixed.

The system will return this value instead of #IMPORTANCE_PERCEPTIBLE on Android versions below Build.VERSION_CODES#O.

On Android version Build.VERSION_CODES#O and later, this value will still be returned for apps with the target API level below Build.VERSION_CODES#O. For apps targeting version Build.VERSION_CODES#O and later, the correct value #IMPORTANCE_PERCEPTIBLE will be returned.

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

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