Notification.ProgressStyle.Segment.SemanticStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the semantics applied to the Segment.
public int SemanticStyle { [Android.Runtime.Register("getSemanticStyle", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getSemanticStyle", "()I", "", ApiSince=37)>]
member this.SemanticStyle : int
Property Value
Value is one of the following: Notification.SEMANTIC_STYLE_UNSPECIFIED; Notification.SEMANTIC_STYLE_INFO; Notification.SEMANTIC_STYLE_SAFE; Notification.SEMANTIC_STYLE_CAUTION; Notification.SEMANTIC_STYLE_DANGER
- Attributes
Remarks
Returns the semantics applied to the Segment. When the notification is promoted this value is used to style (e.g. color) the segment.
Android reference for android.app.Notification.ProgressStyle.Segment.getSemanticStyle.
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.