Notification.ProgressStyle.AddProgressSegment 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.
Appends a segment to the end of the progress bar.
[Android.Runtime.Register("addProgressSegment", "(Landroid/app/Notification$ProgressStyle$Segment;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressSegment_Landroid_app_Notification_ProgressStyle_Segment_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle AddProgressSegment(Android.App.Notification.ProgressStyle.Segment segment);
[<Android.Runtime.Register("addProgressSegment", "(Landroid/app/Notification$ProgressStyle$Segment;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressSegment_Landroid_app_Notification_ProgressStyle_Segment_Handler", ApiSince=36)>]
abstract member AddProgressSegment : Android.App.Notification.ProgressStyle.Segment -> Android.App.Notification.ProgressStyle
override this.AddProgressSegment : Android.App.Notification.ProgressStyle.Segment -> Android.App.Notification.ProgressStyle
Parameters
Notification.ProgressStyle.Segment: This value cannot be null.
Returns
This Android.App.Notification.ProgressStyle instance, allowing calls to be chained.
- Attributes
Remarks
Appends a segment to the end of the progress bar. Segments allow for creating progress bars with multiple colors or sections to represent different stages or categories of progress. For example, Traffic conditions along a navigation journey.
Android reference for android.app.Notification.ProgressStyle.addProgressSegment.
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.