Interface NEFileTransferListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onFileTransferProgress(String key, Long transferred, Long total) 文件传输进度回调, 上传时key是文件路径,下载时key为url
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onFileTransferProgress

         abstract Unit onFileTransferProgress(String key, Long transferred, Long total)

        文件传输进度回调, 上传时key是文件路径,下载时key为url

        Parameters:
        key - 文件路径或url
        transferred - 已传输大小
        total - 总大小