语言

Notification.SmallIcon 属性

定义

在状态栏中表示此通知的小图标。

public virtual Android.Graphics.Drawables.Icon? SmallIcon { [Android.Runtime.Register("getSmallIcon", "()Landroid/graphics/drawable/Icon;", "GetGetSmallIconHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getSmallIcon", "()Landroid/graphics/drawable/Icon;", "GetGetSmallIconHandler", ApiSince=23)>]
member this.SmallIcon : Android.Graphics.Drawables.Icon

属性值

表示此通知的小型图标

特性

注解

在状态栏中表示此通知的小图标。

Android 参考。android.app.Notification.getSmallIcon

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于