-
- All Implemented Interfaces:
-
net.bunny.api.upload.service.UploadService
public final class BasicUploaderService implements UploadService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBasicUploaderService.Companion
-
Constructor Summary
Constructors Constructor Description BasicUploaderService(HttpClient httpClient, CoroutineDispatcher coroutineDispatcher)
-
Method Summary
Modifier and Type Method Description UploadRequestupload(Long libraryId, String videoId, FileInfo fileInfo, UploadListener listener)Uploads content in for of InputStream to provided url -
-
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 IDvideoId- target video IDfileInfo- details about the file to be uploaded, see FileInfolistener- interface to get notified about upload status changes, see UploadListener
-
-
-
-