DJI Mobile SDK Documentation

      class LEDColorPattern

      @EXClassNullAway
      class LEDColorPattern
      Package:dji.common.handheld
      Description:

      Pattern used to control a single color (red, green or blue) of the handheld controller's LED.

      Class Members:
      pattern
      property
      property pattern
      ArrayList<Boolean> pattern
      Package:dji.common.handheld
      Description:

      Pattern to control the time varying behaviour of the LED color. Each element of pattern is a boolean representing the LED on/off state for 0.125 seconds where true means the LED is on. The length of the pattern cannot exceed 32. By default, the array is empty, which will turn the LED color off.

      repeatTimes
      property
      property repeatTimes
      int repeatTimes = 255
      Package:dji.common.handheld
      Description:

      The number of times to repeat the sequence with range [1, 255]. A value of 255 will repeat the sequence indefinitely until a new command is sent. The default value is 255.