Notification.ProgressStyle.SetProgressSegments 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.
Sets or replaces the segments of the progress bar.
[Android.Runtime.Register("setProgressSegments", "(Ljava/util/List;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressSegments_Ljava_util_List_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle SetProgressSegments(System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Segment> progressSegments);
[<Android.Runtime.Register("setProgressSegments", "(Ljava/util/List;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressSegments_Ljava_util_List_Handler", ApiSince=36)>]
abstract member SetProgressSegments : System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Segment> -> Android.App.Notification.ProgressStyle
override this.SetProgressSegments : System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Segment> -> Android.App.Notification.ProgressStyle
Parameters
- progressSegments
- IList<Notification.ProgressStyle.Segment>
List: This value cannot be null.
Returns
This Android.App.Notification.ProgressStyle instance, allowing calls to be chained.
- Attributes
Remarks
Sets or replaces the segments 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.setProgressSegments.
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.