|
Declaration: | DJI.WindowsSDK |
MediaTask consist of task event and request. MediaTask should construct with MediaTaskRequest
, Pass to MediaTaskManager to invoke the lifecycle event.
|
Declaration: | DJI.WindowsSDK |
Delegate of task complete file list request event.
|
Declaration: | DJI.WindowsSDK |
Delegate of forward to next file list request event.
|
Declaration: | DJI.WindowsSDK |
Delegate of download file data transfer event, you should calculate how many bytes already download here.
|
Declaration: | DJI.WindowsSDK |
Delegate of forward to next download file request event.
|
Declaration: | DJI.WindowsSDK |
Delegate of task execute finished, if requests all successed, task invoke this event at last. If any request get failure, the task fail and invoke this event immediately.
|
Declaration: | DJI.WindowsSDK |
MediaFileListRequest response event .See OnTaskListReqResponseHandler
|
Declaration: | DJI.WindowsSDK |
MediaFileListRequest forward event .See OnTaskListReqForwardHandler
|
Declaration: | DJI.WindowsSDK |
MediaFileDownloadRequest response event .See OnTaskDataReqResponseHandler
|
Declaration: | DJI.WindowsSDK |
MediaFileDownloadRequest forward event .See OnTaskDataReqForwardHandler
|
Declaration: | DJI.WindowsSDK |
MediaTask have finished all requests event or occur request failure.See OnRequestTearDownHandler
|
Declaration: | DJI.WindowsSDK |
Construct a task with MediaTaskRequest
.
MediaTaskRequest request | The request taken by task. See MediaTaskRequest . |
|
Declaration: | DJI.WindowsSDK |
A convenience construct method of task with MediaFileListRequest
. MediaTaskRequest will use "FILE_LIST" type, "NONE" duplicateType, "BACK_TO_QUEUE" deferType, "DEFAULT" priority
MediaFileListRequest request | Convert to MediaTaskRequest with file list request. See MediaFileListRequest . |
public MediaTask | An instance of MediaTask |
|
Declaration: | DJI.WindowsSDK |
A convenience construct method of task with MediaFileDownloadRequest
. MediaTaskRequest will use "FILE_LIST" type, "NONE" duplicateType, "BACK_TO_QUEUE" deferType, "DEFAULT" priority
MediaFileDownloadRequest request | Convert to MediaTaskRequest with download file request. See MediaFileDownloadRequest . |
public MediaTask | An instance of MediaTask |
|
Declaration: | DJI.WindowsSDK |
Media task request passed by construct.