語言

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>

列表:此值不可能為空值。

傳回

這個 Android.App.Notification.ProgressStyle 實例,允許呼叫串接。

屬性

備註

會替換所有進度點數。 進度條中的點數用來視覺化不同的階段或里程碑。 例如,你可以用點來標記多站導航旅程中的停靠點,每個點代表一個目的地。

Android 參考資料。android.app.Notification.ProgressStyle.setProgressPoints

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於