Notification.LedARGB 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此字段在 API 级别 26 中已弃用。
[Android.Runtime.Register("ledARGB")]
public int LedARGB { get; set; }
[<Android.Runtime.Register("ledARGB")>]
member this.LedARGB : int with get, set
属性值
为旧通知 LED 存储的请求 ARGB 颜色。
- 特性
注解
此字段在 API 级别 26 中已弃用。 使用 NotificationChannel.shouldShowLights()。
led 的颜色。 硬件将尽其最大近似。
Android 参考。android.app.Notification.ledARGB
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。