DJI Mobile SDK Documentation

      class CameraWhiteBalanceInfo

      class CameraWhiteBalanceInfo implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Setting of white balance.

      Class Members:

      Members

      method getWhiteBalanceMode
      CameraWhiteBalanceMode getWhiteBalanceMode()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get setted White Balance.

      Return:
      CameraWhiteBalanceModeReturn setted White Balance.
      method setWhiteBalanceMode
      void setWhiteBalanceMode(CameraWhiteBalanceMode whiteBalanceMode)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set White Balance.

      Input Parameters:
      CameraWhiteBalanceMode whiteBalanceModeWhite Balance that needs to be set.
      method getColorTemperature
      Integer getColorTemperature()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get setted color temperature. Real color temperature value (K) = value * 100. For example, 50 -> 5000K.

      Return:
      IntegerReturn setted color temperature.
      method setColorTemperature
      void setColorTemperature(Integer colorTemperature)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set color temperatur. Unit: kelvin. The color temperature can only be set when the white balance mode is set to MANUAL.

      Input Parameters:
      Integer colorTemperatureColor temperature value to be set in the range of [20, 100]. Real color temperature value (K) = value * 100. For example, 50 -> 5000K.