DJI Mobile SDK Documentation

      class OpticalZoomSpec

      static class OpticalZoomSpec
      Package:dji.common.camera
      SDK Key:CameraKey.OPTICAL_ZOOM_SPEC
      Description:

      Zoom lens profile. Includes focal length range and minimum focal length step. Supported by X5, X5R and X5S with zoom lens, Z3 camera and Z30 camera.

      Class Members:
      Values
      method
      method getMaxFocalLength
      int getMaxFocalLength()
      Package:dji.common.camera
      Description:

      The maximum focal length of the lens in units of 0.1mm.

      Return:
      intMaximum focal length of lens.
      method getMinFocalLength
      int getMinFocalLength()
      Package:dji.common.camera
      Description:

      The minimum focal length of the lens in units of 0.1mm.

      Return:
      intMinimum focal length of lens.
      method getFocalLengthStep
      int getFocalLengthStep()
      Package:dji.common.camera
      Description:

      The minimum interval of focal length change in units of 0.1mm.

      Return:
      intFocal length step.