語言

Notification.SemanticStyleDanger 欄位

定義

警告

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

此值用來標註元素,表示危險、極度緊急或遲到,或語意階層中其他「極端」值。

[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

欄位值

Value = 4

實作

屬性

備註

此值用來標註元素,表示危險、極度緊急或遲到,或語意階層中其他「極端」值。

危險通常會以紅色造型來呈現給使用者。

Android 參考資料。android.app.Notification.SEMANTIC_STYLE_DANGER

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於