@interface DJIMediaFileInfo : NSObject |
Header: | DJIMediaFile.h |
Inherits From: | NSObject |
This class contains information about newly generated media file.
@property(nonatomic, readonly) DJIMediaType mediaType |
Header: | DJIMediaFile.h |
Returns the type of media file.
@property(nonatomic, readonly) NSUInteger index |
Header: | DJIMediaFile.h |
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(nonatomic, readonly) long long fileSize |
Header: | DJIMediaFile.h |
Returns the size, in bytes, of the media file.
@property(nonatomic, readonly) NSString* timeCreated |
Header: | DJIMediaFile.h |
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(nonatomic, readonly) DJICameraVideoStreamSource streamSourceCamera |
Header: | DJIMediaFile.h |
Returns the stream source of media file.
{{searchCount}} Results