Notification.ProgressStyle.SetProgressStartIcon(Icon) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在进度栏的开头显示的可选方形图标。
[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
参数
- startIcon
- Icon
图标:此值可能为 null。
返回
此 Android.App.Notification.ProgressStyle 实例允许链接调用。
- 特性
注解
在进度栏的开头显示的可选方形图标。 此图标将裁剪为其中心方形。 此图标不会在 RTL 布局中镜像。
Android 参考。android.app.Notification.ProgressStyle.setProgressStartIcon
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。