語言

Notification.SemanticStyleInfo 欄位

定義

警告

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

此值用來註解元素,指示應從其他內容中突出但不屬於尺度或階層的資訊。

[Android.Runtime.Register("SEMANTIC_STYLE_INFO", 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 SemanticStyleInfo = 1;
[<Android.Runtime.Register("SEMANTIC_STYLE_INFO", 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 SemanticStyleInfo : Android.App.NotificationSemanticStyle

欄位值

Value = 1

實作

屬性

備註

此值用來註解元素,指示應從其他內容中突出但不屬於尺度或階層的資訊。 這可視為較中性的值,適用於元素旨在與其他語意風格區別於元素的情況下——例如,若 ProgressStyle 條列使用語意風格來著色片段,則此風格適合語意階層對使用者不利的段落。

資訊通常會以明顯不同於其他樣式所用顏色(如藍色)來呈現給使用者。

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

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

適用於