@Deprecated |
| Package: | dji.sdk.media |
Tells that a new media file (photo or video) is generated.
Note:Because the firmware cannot return some information correctly, so the interface is deprecated, please use NewFileInfoCallback insteaded.
@Deprecated |
| Package: | dji.sdk.media |
Called when a new media file (photo or video) has been generated.
In this callback method, the MediaFile instance properties getDurationInSeconds and getVideoOrientation require special consideration. The thumbnail property normally has a pointer to a UIImage of the thumbnail, but this is only available when the camera is in MEDIA_DOWNLOAD work mode. Additionally, for this instance of MediaFile, the getDurationInSeconds property is 0 and the getVideoOrientation property is LANDSCAPE. Not supported by Zenmuse Z30 and Zenmuse XT2.
Note:Because the firmware cannot return some information correctly, so the interface is deprecated, please use onNewFileInfo insteaded.
| @NonNull MediaFile mediaFile | The new media file. |
{{searchCount}} Results