语言

Notification.ProgressStyle.SetProgressPoints 方法

定义

替换所有进度点。

[Android.Runtime.Register("setProgressPoints", "(Ljava/util/List;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressPoints_Ljava_util_List_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle SetProgressPoints(System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Point> points);
[<Android.Runtime.Register("setProgressPoints", "(Ljava/util/List;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressPoints_Ljava_util_List_Handler", ApiSince=36)>]
abstract member SetProgressPoints : System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Point> -> Android.App.Notification.ProgressStyle
override this.SetProgressPoints : System.Collections.Generic.IList<Android.App.Notification.ProgressStyle.Point> -> Android.App.Notification.ProgressStyle

参数

points
IList<Notification.ProgressStyle.Point>

列表:此值不能为 null。

返回

此 Android.App.Notification.ProgressStyle 实例允许链接调用。

特性

注解

替换所有进度点。 进度栏中的点用于可视化不同的阶段或里程碑。 例如,可以使用点标记多站导航旅程中的停止,其中每个点表示目标。

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

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

适用于