DJI Mobile SDK Documentation

      class VideoPreRecordDurationInfo

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

      Pre-record duration settings.

      Class Members:

      Members

      method getDuration
      VideoPreRecordDuration getDuration()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Gets the set pre-recording duration.

      Return:
      VideoPreRecordDurationReturns the set pre-recording duration.
      method setDuration
      void setDuration(VideoPreRecordDuration duration)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Sets the pre-recording duration.

      Input Parameters:
      VideoPreRecordDuration durationThe pre-recording duration needs to be set.