interface MediaFileDownloadListener |
Package: | dji.v5.manager.datacenter.media |
Listener of media file download. Supported since MSDK 5.0.0
void onStart() |
Package: | dji.v5.manager.datacenter.media |
When the media file starts downloading, this method will be called back. Supported since MSDK 5.0.0
void onProgress(long total, long current) |
Package: | dji.v5.manager.datacenter.media |
When the edia file download progress changes, this method will be called back. Supported since MSDK 5.0.0
long total | The total number of bytes of media file to be downloaded. |
long current | Bytes of downloaded media files. |
void onRealtimeDataUpdate(byte[] data, long position) |
Package: | dji.v5.manager.datacenter.media |
When the media file data is downloaded, this method will be called back. Supported since MSDK 5.0.0
byte[] data | The media file data download from camera by byte. |
long position | The byte offset into the meida file at which the data starts. |
void onFinish() |
Package: | dji.v5.manager.datacenter.media |
When the media file is downloaded, this method will be called back. Supported since MSDK 5.0.0
void onFailure(IDJIError error) |
Package: | dji.v5.manager.datacenter.media |
when an error occurs in the media file downloading, this method will be called back. Supported since MSDK 5.0.0
IDJIError error | Media file download error. |
{{searchCount}} Results