Notification.ProgressStyle.Point.SetSemanticStyle(Int32) Method
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.
Applies semantics to the Point.
[Android.Runtime.Register("setSemanticStyle", "(I)Landroid/app/Notification$ProgressStyle$Point;", "", ApiSince=37)]
public Android.App.Notification.ProgressStyle.Point SetSemanticStyle(int semanticStyle);
[<Android.Runtime.Register("setSemanticStyle", "(I)Landroid/app/Notification$ProgressStyle$Point;", "", ApiSince=37)>]
member this.SetSemanticStyle : int -> Android.App.Notification.ProgressStyle.Point
Parameters
- semanticStyle
- Int32
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
Returns
- Attributes
Remarks
Applies semantics to the Point. When the notification is promoted this value is used to style (e.g. color) the point.
If an app specifies both color and semantic style, the color overrides the style.
Android reference for android.app.Notification.ProgressStyle.Point.setSemanticStyle.
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.