DJI Mobile SDK Documentation

      class SpotlightState

      class SpotlightState
      Package:dji.common.accessory
      Description:

      The state of the spotlight accessory.

      Class Members:
      Temperature
      method
      method getTemperature
      float getTemperature()
      Package:dji.common.accessory
      Description:

      Returns the temperature of the Spotlight in Celsius.

      Return:
      floatAn float value.
      Brightness
      method
      method getBrightness
      int getBrightness()
      Package:dji.common.accessory
      Description:

      The configurable brightness of the spotlight.

      Return:
      intAn int value.
      State Updates
      class