DJI Mobile SDK Documentation

      class GeneratedMediaFileInfo

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

      Information of media file.

      Class Members:

      Members

      method
      method getType
      MediaFileType getType()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get media file type.

      Return:
      MediaFileTypeReturn media file type.
      method
      method getIndex
      Integer getIndex()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the index of media file. Unique identifier for the media file. You can use this identifier and MediaFile to index more detailed media file information.

      Return:
      IntegerReturn the index of media file.
      method getFileSize
      Long getFileSize()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the media file size. Unit: byte.

      Return:
      LongReturn the media file size.
      method getCreateTime
      DateTime getCreateTime()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the generation time of the media file.

      Return:
      DateTimeReturn the generation time of the media file.