Sprache

Notification.ProgressStyle.SetProgressEndIcon(Icon) Methode

Definition

Ein optionales quadratisches Symbol, das am Ende der Statusleiste angezeigt wird.

[Android.Runtime.Register("setProgressEndIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressEndIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle SetProgressEndIcon(Android.Graphics.Drawables.Icon? endIcon);
[<Android.Runtime.Register("setProgressEndIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressEndIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)>]
abstract member SetProgressEndIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle
override this.SetProgressEndIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle

Parameter

endIcon
Icon

Symbol: Dieser Wert kann null sein.

Gibt zurück

Diese Android.App.Notification.ProgressStyle-Instanz, sodass Anrufe verkettet werden können.

Attribute

Hinweise

Ein optionales quadratisches Symbol, das am Ende der Statusleiste angezeigt wird. Dieses Symbol wird auf das zentrale Quadrat zugeschnitten. Dieses Symbol wird nicht in RTL-Layouts gespiegelt.

Android-Referenz für android.app.Notification.ProgressStyle.setProgressEndIcon.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: