共用方式為


NotificationManager.ImportanceLow Field

Definition

Caution

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

Low notification importance: Shows in the shade, and potentially in the status bar (see #shouldHideSilentStatusBarIcons()), but is not audibly intrusive.

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

Field Value

Value = 2
Attributes

Remarks

Low notification importance: Shows in the shade, and potentially in the status bar (see #shouldHideSilentStatusBarIcons()), but is not audibly intrusive.

Java documentation for android.app.NotificationManager.IMPORTANCE_LOW.

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