DJI Mobile SDK Documentation

      class TemperatureDataCallback

      interface TemperatureDataCallback
      Package:dji.sdk.camera
      SDK Key:CameraKey.THERMAL_TEMPERATURE_DATA
      Description:

      Received temperature in degrees Celsius of image. For the XT, the temperature measurement data is the average of the center four pixels of the image. For Zenmuse H20, Zenmuse H20T and Mavic 2 Enterprise Advanced, please use class Lens.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(float temperature)
      Package:dji.sdk.camera
      Description:

      Received temperature in degrees Celsius of image. The thermal imaging camera will only update the temperature if the temperature data is enabled. For the XT Standard version, the temperature measurement data is the average of the center four pixels of the image. For the XT Advanced Radiometry version, the temperature measurement point can be set using setThermalSpotMeteringTargetPoint.

      Input Parameters:
      float temperatureThe camera's temperature data in degrees Celsius.