DJI Mobile SDK Documentation

      class CameraPeakThreshold

      final class CameraPeakThreshold
      Package:dji.common.camera
      Description:

      A container for the low, normal, and high values for the camera peak threshold.

      Class Members:
      method CameraPeakThreshold
      CameraPeakThreshold(float lowCameraPeakThreshold, float normalCameraPeakThreshold, float highCameraPeakThreshold)
      Package:dji.common.camera
      Description:

      Create a CameraPeakThreshold instance with the default camera peak threshold values.

      Input Parameters:
      float lowCameraPeakThresholdA float value representing the lowest camera peak threshold.
      float normalCameraPeakThresholdA float value representing the normal camera peak threshold.
      float highCameraPeakThresholdA float value representing the highest camera peak threshold.
      method getLowCameraPeakThreshold
      float getLowCameraPeakThreshold()
      Package:dji.common.camera
      Description:

      Gets the low value to be used for the camera peak threshold.

      Return:
      floatA float value representing the lowest camera peak threshold.
      method getNormalCameraPeakThreshold
      float getNormalCameraPeakThreshold()
      Package:dji.common.camera
      Description:

      Gets the normal value to be used for the camera peak threshold.

      Return:
      floatA float value representing the normal camera peak threshold.
      method getHighCameraPeakThreshold
      float getHighCameraPeakThreshold()
      Package:dji.common.camera
      Description:

      Gets the high value to be used for the camera peak threshold.

      Return:
      floatA float value representing the highest camera peak threshold.