語言

Notification.ProgressStyle.Segment.SemanticStyle 屬性

定義

回傳套用於該區段的語意。

public int SemanticStyle { [Android.Runtime.Register("getSemanticStyle", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getSemanticStyle", "()I", "", ApiSince=37)>]
member this.SemanticStyle : int

屬性值

價值屬於以下之一:Notification.SEMANTIC_STYLE_UNSPECIFIED;Notification.SEMANTIC_STYLE_INFO;Notification.SEMANTIC_STYLE_SAFE;Notification.SEMANTIC_STYLE_CAUTION;Notification.SEMANTIC_STYLE_DANGER

屬性

備註

回傳套用於該區段的語意。 當通知被升變時,這個值會用來為區段做樣式(例如顏色)。

Android 參考資料。android.app.Notification.ProgressStyle.Segment.getSemanticStyle

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

適用於