Notification.ProgressStyle.SetProgressTrackerIcon(Icon) Method

Definition

An optional icon that can appear as an overlay on the bar at the point of current progress.

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

Parameters

trackerIcon
Icon

Icon: This value may be null.

Returns

This Android.App.Notification.ProgressStyle instance, allowing calls to be chained.

Attributes

Remarks

An optional icon that can appear as an overlay on the bar at the point of current progress. Aspect ratio may be anywhere from 2:1 to 1:2; content outside that aspect ratio range will be cropped. This icon will be mirrored in RTL.

Android reference for android.app.Notification.ProgressStyle.setProgressTrackerIcon.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to