共用方式為


NotificationManager.ImportanceNone Field

Definition

Caution

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

A notification with no importance: does not show in the shade.

[Android.Runtime.Register("IMPORTANCE_NONE", 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 ImportanceNone = 0;
[<Android.Runtime.Register("IMPORTANCE_NONE", 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 ImportanceNone : Android.App.NotificationImportance

Field Value

Value = 0
Attributes

Remarks

A notification with no importance: does not show in the shade.

Java documentation for android.app.NotificationManager.IMPORTANCE_NONE.

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