Język

Notification.SemanticStyleSafe 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 safety, non-urgency, timeliness, or another “mild” value on the semantic hierarchy.

[Android.Runtime.Register("SEMANTIC_STYLE_SAFE", 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 SemanticStyleSafe = 2;
[<Android.Runtime.Register("SEMANTIC_STYLE_SAFE", 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 SemanticStyleSafe : Android.App.NotificationSemanticStyle

Field Value

Value = 2

Implements

Attributes

Remarks

This value is used to annotate an element as indicating safety, non-urgency, timeliness, or another “mild” value on the semantic hierarchy.

Safety is generally represented to users by styling the element with a green color.

Android reference for android.app.Notification.SEMANTIC_STYLE_SAFE.

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