语言

Notification.ProgressStyle.AddProgressPoint 方法

定义

添加另一个点。

[Android.Runtime.Register("addProgressPoint", "(Landroid/app/Notification$ProgressStyle$Point;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressPoint_Landroid_app_Notification_ProgressStyle_Point_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle AddProgressPoint(Android.App.Notification.ProgressStyle.Point point);
[<Android.Runtime.Register("addProgressPoint", "(Landroid/app/Notification$ProgressStyle$Point;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressPoint_Landroid_app_Notification_ProgressStyle_Point_Handler", ApiSince=36)>]
abstract member AddProgressPoint : Android.App.Notification.ProgressStyle.Point -> Android.App.Notification.ProgressStyle
override this.AddProgressPoint : Android.App.Notification.ProgressStyle.Point -> Android.App.Notification.ProgressStyle

参数

point
Notification.ProgressStyle.Point

Notification.ProgressStyle.Point:此值不能为 null。

返回

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

特性

注解

添加另一个点。 进度栏中的点用于可视化不同的阶段或里程碑。 例如,可以使用点标记多站导航旅程中的停止,其中每个点表示目标。 可以按任意顺序添加点,因为他们在进度栏中的位置由其单个 Point.getPosition() 决定。

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

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

适用于