Package 

Interface Uploader

    • Method Summary

      Modifier and Type Method Description
      abstract Result<UploadedFile> upload(UploadPayload<C> payload, Function1<Double, Unit> progress) Uploads a file and returns the information of the uploaded remote file.
      • Methods inherited from class java.lang.Object

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

      • upload

         abstract Result<UploadedFile> upload(UploadPayload<C> payload, Function1<Double, Unit> progress)

        Uploads a file and returns the information of the uploaded remote file.

        Parameters:
        payload - The payload containing the information about the file to upload.
        progress - A lambda that notifies about upload progress (from 0.0 to 1.0).