Notification.ProgressStyle.AddProgressSegment Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute un segment à la fin de la barre de progression.
[Android.Runtime.Register("addProgressSegment", "(Landroid/app/Notification$ProgressStyle$Segment;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressSegment_Landroid_app_Notification_ProgressStyle_Segment_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle AddProgressSegment(Android.App.Notification.ProgressStyle.Segment segment);
[<Android.Runtime.Register("addProgressSegment", "(Landroid/app/Notification$ProgressStyle$Segment;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressSegment_Landroid_app_Notification_ProgressStyle_Segment_Handler", ApiSince=36)>]
abstract member AddProgressSegment : Android.App.Notification.ProgressStyle.Segment -> Android.App.Notification.ProgressStyle
override this.AddProgressSegment : Android.App.Notification.ProgressStyle.Segment -> Android.App.Notification.ProgressStyle
Paramètres
Notification.ProgressStyle.Segment : cette valeur ne peut pas être null.
Retours
Cette instance Android.App.Notification.ProgressStyle, autorisant les appels à être chaînés.
- Attributs
Remarques
Ajoute un segment à la fin de la barre de progression. Les segments permettent de créer des barres de progression avec plusieurs couleurs ou sections pour représenter différentes étapes ou catégories de progression. Par exemple, les conditions de trafic le long d’un parcours de navigation.
Référence Android pour android.app.Notification.ProgressStyle.addProgressSegment.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.