DJI Mobile SDK Documentation

      class IFileTransferManager

      interface IFileTransferManager 
      Package:dji.open.pilot.client.interfaces
      Description:

      Server-side file transfer manager.

      Supported since MSDK 5.20.1

      Class Members:
      method pushFileToRemote
      void pushFileToRemote(String filePath, CommonCallbacks.CompletionCallbackWithProgress<Double> callback)
      Package:dji.open.pilot.client.interfaces
      Description:

      Uploads a file to the server.

      Supported since MSDK 5.20.1

      Input Parameters:
      String filePathFile path.
      CommonCallbacks.CompletionCallbackWithProgress<Double> callbackUpload result/progress callback.
      method pushFileToRemoteDest
      void pushFileToRemoteDest(String filePath, FileTransferDestination dest, CommonCallbacks.CompletionCallbackWithProgress<Double> callback)
      Package:dji.open.pilot.client.interfaces
      Description:

      Uploads a file to the specified destination on the server.

      Supported since MSDK 5.20.1

      Input Parameters:
      String filePathFile path.
      FileTransferDestination destFile transfer destination.
      CommonCallbacks.CompletionCallbackWithProgress<Double> callbackUpload result/progress callback.
      method queryFileListFromRemote
      void queryFileListFromRemote(CommonCallbacks.CompletionCallbackWithParam<List<String>> callback)
      Package:dji.open.pilot.client.interfaces
      Description:

      Queries the list of files that have been uploaded to the server.

      Supported since MSDK 5.20.1

      Input Parameters:
      CommonCallbacks.CompletionCallbackWithParam<List<String>> callbackFile list callback.
      enum FileTransferDestination
      enum FileTransferDestination 
      Package:dji.open.pilot.base.manager.file
      Description:

      File transfer destination.

      Supported since MSDK 5.20.1

      Enum Members:
      PLUGIN_PRIVATEPlugin private directory.
      APP_LOGAPP log directory.
      Class Members: