The
Led
enumeration lists the LED type identifiers can be used to manage the LEDs on the device with
LedManager
interface.
Depending on the device, LEDs can be single-color, two-color (red and green) or RGB.
Moreover, some of the LEDs defined by this interface could be not supported in some devices.
NOTE: SDK v1.38 introduced the
LED_SCANNER
as interface extension of
LED_GOOD_READ
. So, even when they are both supported, they refer to the same physical LED.
For further details on how to manage LEDs, refer to the comprehensive SDK examples:
- Source code in Java (NotificationActivity.java)
- Source code in Kotlin (NotificationActivity.kt)