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

downloadFile

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