Notification.ProgressStyle.SetProgressStartIcon(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 square icon that appears at the start of the progress bar.
[Android.Runtime.Register("setProgressStartIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressStartIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle SetProgressStartIcon(Android.Graphics.Drawables.Icon? startIcon);
[<Android.Runtime.Register("setProgressStartIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$ProgressStyle;", "GetSetProgressStartIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=36)>]
abstract member SetProgressStartIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle
override this.SetProgressStartIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.ProgressStyle
Parameters
- startIcon
- Icon
Icon: This value may be null.
Returns
This Android.App.Notification.ProgressStyle instance, allowing calls to be chained.
- Attributes
Remarks
An optional square icon that appears at the start of the progress bar. This icon will be cropped to its central square. This icon will NOT be mirrored in RTL layouts.
Android reference for android.app.Notification.ProgressStyle.setProgressStartIcon.
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.