语言

Notification.ProgressStyle.ProgressSegments 属性

定义

获取定义进度栏的背景层的段。

public virtual System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Segment> ProgressSegments { [Android.Runtime.Register("getProgressSegments", "()Ljava/util/List;", "GetGetProgressSegmentsHandler", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getProgressSegments", "()Ljava/util/List;", "GetGetProgressSegmentsHandler", ApiSince=36)>]
member this.ProgressSegments : System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Segment>

属性值

此值不能为 null。

特性

注解

获取定义进度栏的背景层的段。 如果未提供段,则进度栏将以长度为 100 的单个段和默认颜色呈现。

Android 参考。android.app.Notification.ProgressStyle.getProgressSegments

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于