DJI Mobile SDK Documentation

      class DJIHandheldControllerLEDColorPattern

      @interface DJIHandheldControllerLEDColorPattern : NSObject
      Header:DJIHandheldControllerBaseTypes.h
      Inherits From:NSObject
      Description:

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

      Class Members:
      pattern
      property
      property pattern
      @property (nonatomic) NSArray<NSNumber *> *pattern
      Header:DJIHandheldControllerBaseTypes.h
      Description:

      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 YES 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
      @property (nonatomic) uint8_t repeatTimes
      Header:DJIHandheldControllerBaseTypes.h
      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.