Notification.ProgressStyle.SetProgressTrackerIcon(Icon) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.