public class

DJIHandheldControllerLEDColorPattern

extends Object
java.lang.Object
   ↳ dji.common.handheld.DJIHandheldControllerLEDColorPattern

Class Overview

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

Summary

Fields
public ArrayList<Boolean> pattern Pattern to control the time varying behaviour of the LED color.
public int repeatTimes The number of times to repeat the sequence with range[1, 255].
Public Constructors
DJIHandheldControllerLEDColorPattern()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public ArrayList<Boolean> pattern

Pattern to control the time varying behaviour of the LED color. Each element of `pattern` is a boolean NSNumber 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.

public int repeatTimes

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

Public Constructors

public DJIHandheldControllerLEDColorPattern ()