DJI Mobile SDK Documentation

      class LEDsSettings

      class LEDsSettings implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      LED setting.

      Class Members:

      Members

      method getFrontLEDsOn
      Boolean getFrontLEDsOn()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Parameter: Boolean

      true means that the front LED is on.

      Return:
      BooleanReturn whether the front LED is on.
      method setFrontLEDsOn
      void setFrontLEDsOn(Boolean frontLEDsOn)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      true means that the front LED is on.

      Input Parameters:
      Boolean frontLEDsOnTo set the front LED on or off.
      method getNavigationLEDsOn
      Boolean getNavigationLEDsOn()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Parameter: Boolean

      true means top and buttom navigation LED is on.

      Return:
      BooleanReturn whether navigation LED is on.
      method setNavigationLEDsOn
      void setNavigationLEDsOn(Boolean navigationLEDsOn)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      true means top and buttom navigation LED is on.

      Input Parameters:
      Boolean navigationLEDsOnTo set navigation LED on or off.
      method getStatusIndicatorLEDsOn
      Boolean getStatusIndicatorLEDsOn()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Parameter: Boolean

      true means the rear arm status indicator is on.

      Return:
      BooleanReturn whether the rear arm status indicator is on.
      method setStatusIndicatorLEDsOn
      void setStatusIndicatorLEDsOn(Boolean statusIndicatorLEDsOn)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      true means the rear arm status indicator is on.

      Input Parameters:
      Boolean statusIndicatorLEDsOnTo set the rear arm status indicator is on or off.