DJI Mobile SDK Documentation

      class VideoRecordPlanInfo

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

      Recording mode settings, support pre-recording on and off.

      Class Members:

      Members

      method
      method getPlan
      VideoRecordPlan getPlan()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Get the recording mode.

      Return:
      VideoRecordPlanReturn to recording mode.
      method
      method setPlan
      void setPlan(VideoRecordPlan plan)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Set recording mode. DEFAULT indicates normal recording mode, PRE_RECORD indicates turning on pre-recording mode.

      Input Parameters:
      VideoRecordPlan planThe recording mode needs to be set.