DJI Mobile SDK Documentation

      class TemperatureDataCallback

      interface TemperatureDataCallback
      Package:dji.sdk.camera
      Description:

      Received temperature in degrees Celsius of image. For the thermal lens, the temperature measurement data is the average of the center four pixels of the image. Supported by the thermal lens of Zenmuse H20T and H20N.

      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 lens will only update the temperature if the temperature data is enabled. For the thermal lens Standard version, the temperature measurement data is the average of the center four pixels of the image.

      Input Parameters:
      float temperatureThe thermal lens temperature data in degrees Celsius.