Lenguaje

Notification.ProgressStyle.AddProgressSegment Método

Definición

Anexa un segmento al final de la barra de progreso.

[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

Parámetros

segment
Notification.ProgressStyle.Segment

Notification.ProgressStyle.Segment: este valor no puede ser NULL.

Devoluciones

Esta instancia de Android.App.Notification.ProgressStyle, lo que permite encadenar llamadas.

Atributos

Comentarios

Anexa un segmento al final de la barra de progreso. Los segmentos permiten crear barras de progreso con varios colores o secciones para representar diferentes fases o categorías de progreso. Por ejemplo, condiciones de tráfico a lo largo de un recorrido de navegación.

Referencia de Android para android.app.Notification.ProgressStyle.addProgressSegment.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a