class MediaFileInfo implements Serializable |
Package: | dji.sdk.media |
This class contains information about newly generated media file.
MediaFile.MediaType getMediaType() |
Package: | dji.sdk.media |
Returns the type of media file.
MediaFile.MediaType | An enum value of MediaType . |
int getIndex() |
Package: | dji.sdk.media |
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 getSDCardFileListSnapshot
or getInternalStorageFileListSnapshot
, and then you can get more information about the new media file, such as the file name, etc.
int | An int value of media file index. |
long getFileSize() |
Package: | dji.sdk.media |
Returns the size, in bytes, of the media file.
long | Size of media file. |
long getTimeCreated() |
Package: | dji.sdk.media |
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.
long | A long value of the media file created date. |
CameraVideoStreamSource getStreamSourceCamera() |
Package: | dji.sdk.media |
Returns the stream source of media file.
CameraVideoStreamSource | An enum value of CameraVideoStreamSource . |
{{searchCount}} Results