DJI Mobile SDK Documentation

      class DJIMediaFileInfo

      @interface DJIMediaFileInfo : NSObject
      Header:DJIMediaFile.h
      Inherits From:NSObject
      Description:

      This class contains information about newly generated media file.

      Class Members:
      Information
      property
      property mediaType
      @property(nonatomic, readonly) DJIMediaType mediaType
      Header:DJIMediaFile.h
      Description:

      Returns the type of media file.

      See Also:

      DJIMediaType

      property
      property index
      @property(nonatomic, readonly) NSUInteger index
      Header:DJIMediaFile.h
      Description:

      Returns the index of media file. This is the only identifier of the media file. You can use this index to match the index obtained by the sdCardFileListSnapshot or internalStoragefileListSnapshot, and then you can get more information about the new media file, such as the file name, etc.

      property
      property fileSize
      @property(nonatomic, readonly) long long fileSize
      Header:DJIMediaFile.h
      Description:

      Returns the size, in bytes, of the media file.

      property
      property timeCreated
      @property(nonatomic, readonly) NSString* timeCreated
      Header:DJIMediaFile.h
      Description:

      Returns the time when the media file was created as a long type, unit: second. You can convert the second to date and time format on your own.

      property streamSourceCamera
      @property(nonatomic, readonly) DJICameraVideoStreamSource streamSourceCamera
      Header:DJIMediaFile.h
      Description:

      Returns the stream source of media file.

      See Also:

      DJICameraVideoStreamSource