Package 

Class BasicUploaderService

    • Constructor Summary

      Constructors 
      Constructor Description
      BasicUploaderService(HttpClient httpClient, CoroutineDispatcher coroutineDispatcher)
    • Method Summary

      Modifier and Type Method Description
      UploadRequest upload(Long libraryId, String videoId, FileInfo fileInfo, UploadListener listener) Uploads content in for of InputStream to provided url
      • Methods inherited from class java.lang.Object

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

      • BasicUploaderService

        BasicUploaderService(HttpClient httpClient, CoroutineDispatcher coroutineDispatcher)
    • Method Detail

      • upload

         UploadRequest upload(Long libraryId, String videoId, FileInfo fileInfo, UploadListener listener)

        Uploads content in for of InputStream to provided url

        Parameters:
        libraryId - target library ID
        videoId - target video ID
        fileInfo - details about the file to be uploaded, see FileInfo
        listener - interface to get notified about upload status changes, see UploadListener