Notification.Metric.SemanticStyle 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將語意應用於指標。
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.Metric.getSemanticStyle
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。