Notification.ProgressStyle.AddProgressSegment Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
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.