Notification.ProgressStyle.AddProgressPoint 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這又多了一點。
[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
參數
Notification.ProgressStyle.Point:此值不能為空值。
傳回
這個 Android.App.Notification.ProgressStyle 實例,允許呼叫串接。
- 屬性
備註
這又多了一點。 進度條中的點數用來視覺化不同的階段或里程碑。 例如,你可以用點來標記多站導航旅程中的停靠點,每個點代表一個目的地。 點數可任意順序添加,因為它們在進度條中的位置由其個別的 Point.getPosition() 決定。
Android 參考資料。android.app.Notification.ProgressStyle.addProgressPoint
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。