Sprache

Notification.SemanticStyleCaution 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 caution, moderate urgency, tardiness, or another “intermediate” value on the semantic hierarchy.

[Android.Runtime.Register("SEMANTIC_STYLE_CAUTION", 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 SemanticStyleCaution = 3;
[<Android.Runtime.Register("SEMANTIC_STYLE_CAUTION", 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 SemanticStyleCaution : Android.App.NotificationSemanticStyle

Field Value

Value = 3

Implements

Attributes

Remarks

This value is used to annotate an element as indicating caution, moderate urgency, tardiness, or another “intermediate” value on the semantic hierarchy.

Caution is generally represented to users by styling the element with a yellow or orange color.

Android reference for android.app.Notification.SEMANTIC_STYLE_CAUTION.

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