Annotation Type LED.LED_STATUS


  • @Retention(SOURCE)
    public static @interface LED.LED_STATUS
    LED status definition check systemProperties("ro.boot.hw_version") ,if not '01',then only support 3 kinds:@STATUS_OFF ,@STATUS_ON, @STATUS_BLINK
    • Field Detail

      • STATUS_OFF

        static final int STATUS_OFF
        Turn off an ON LED
      • STATUS_BLINK_OFF

        static final int STATUS_BLINK_OFF
        Turn off a blink LED
      • STATUS_OFF_ALL

        static final int STATUS_OFF_ALL
        Turn off all solid LEDs
      • STATUS_BLINK_OFF_ALL

        static final int STATUS_BLINK_OFF_ALL
        Turn off all blink LEDs
      • STATUS_ON

        static final int STATUS_ON
        Set LED always on
      • STATUS_BLINK

        static final int STATUS_BLINK
        Set LED blink