语言

Notification.LedARGB 属性

定义

此字段在 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

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

适用于

另请参阅