DJI Mobile SDK Documentation

      class PhotoTimeIntervalSettings

      static class PhotoTimeIntervalSettings
      Package:dji.common.camera
      SDK Key:CameraKey.PHOTO_TIME_INTERVAL_SETTINGS
      Description:

      Sets the number of pictures, and sets the time interval between pictures for the Interval shoot photo mode.

      Class Members:
      Capture Count
      method
      method PhotoTimeIntervalSettings
      PhotoTimeIntervalSettings(int captureCount, int timeIntervalInSeconds)
      Package:dji.common.camera
      Description:

      Constructor.

      Input Parameters:
      int captureCountNumber of photos to take.
      int timeIntervalInSecondsTime interval in seconds between taking photos.
      method getCaptureCount
      int getCaptureCount()
      Package:dji.common.camera
      Description:

      The number of photos to capture. The value range is [2, 255]. If 255 is selected, then the camera will continue to take pictures until stopShootPhotoWithCompletion is called. For thermal imaging camera and Z30 camera, it can only be set to 255.

      Return:
      intNumber of photos to capture
      Time Interval
      method
      method getTimeIntervalInSeconds
      int getTimeIntervalInSeconds()
      Package:dji.common.camera
      Description:

      The time interval between when two photos are taken. The range for this parameter depends the photo file format(DJICameraPhotoFileFormat). For XT camera, the range is [1, 60] seconds. For all other products, when the file format is JPEG, the range is [2, 2^16 - 1] seconds; when the file format is RAW or RAW+JPEG, the range is [10, 2^16 - 1] seconds.

      Return:
      intTime interval in seconds.