gsdsdk / com.gsd.software.sdk.fileservice.repository.download / DownloadRepository / downloadFile

downloadFile

fun downloadFile(fileId:String, resultObserver: (RepositoryResult<String>) ->Unit, progressObserver: (progress:Long, size:Long) ->Unit, cancelObserver: (CancelLoadCallback) ->Unit, directoryName:String):Unit

Overrides DownloadDataSource.downloadFile

fun downloadFile(fileId:String, directoryPath:String, resultObserver: (RepositoryResult<String>) ->Unit, progressObserver: (progress:Long, size:Long) ->Unit, cancelObserver: (CancelLoadCallback) ->Unit):Unit

Overrides DownloadDataSource.downloadFile