gsdsdk / com.gsd.software.sdk.fileservice.repository.upload / UploadRemote
class UploadRemote :
UploadDataSource
Created by jmielczarek on 22/07/2020
Name | Summary |
---|---|
<init> | UploadRemote(gsdRemoteData: GSDRemoteData ) Created by jmielczarek on 22/07/2020 |
Name | Summary |
---|---|
getFileSize | fun getFileSize(fileId: String , observer: ( RepositoryResult < Long >) -> Unit ): Unit |
resumeUpload | fun resumeUpload(fileContent: FileContent , uploadId: String , position: Long , patchQuery: Map < String , String >, resultObserver: ( RepositoryResult < ResponseObject >) -> Unit , uploadIdObserver: (uploadId: String ) -> Unit , successObserver: ( UploadFileResponse ) -> Unit , progressObserver: ( Long , Long ) -> Unit , cancelObserver: ( CancelLoadCallback ) -> Unit , patchObserver: ( FilePatchResponse ) -> Unit ): Unit |
startUpload | fun startUpload(fileContent: FileContent , patchQuery: Map < String , String >, resultObserver: ( RepositoryResult < ResponseObject >) -> Unit , uploadIdObserver: (uploadId: String ) -> Unit , successObserver: ( UploadFileResponse ) -> Unit , progressObserver: ( Long , Long ) -> Unit , cancelObserver: ( CancelLoadCallback ) -> Unit , patchObserver: ( FilePatchResponse ) -> Unit ): Unit |