Język

Notification.SemanticStyleDanger Field

Definition

Caution

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

This value is used to annotate an element as indicating danger, extreme urgency or lateness, or another “extreme” value on the semantic hierarchy.

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

Field Value

Value = 4

Implements

Attributes

Remarks

This value is used to annotate an element as indicating danger, extreme urgency or lateness, or another “extreme” value on the semantic hierarchy.

Danger is generally represented to users by styling the element with a red color.

Android reference for android.app.Notification.SEMANTIC_STYLE_DANGER.

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