gsdsdk / com.gsd.software.sdk.fileservice.repository.download / DownloadRemote
class DownloadRemote :
DownloadDataSource
Created by jmielczarek on 14/09/2020
Name | Summary |
---|---|
<init> | DownloadRemote(gsdRemoteData: GSDRemoteData ) Created by jmielczarek on 14/09/2020 |
Name | Summary |
---|---|
downloadFile | fun downloadFile(fileId: String , directoryPath: String , resultObserver: ( RepositoryResult < String >) -> Unit , progressObserver: (progress: Long , size: Long ) -> Unit , cancelObserver: ( CancelLoadCallback ) -> Unit ): Unit |
Name | Summary |
---|---|
downloadFile | open fun downloadFile(fileId: String , resultObserver: ( RepositoryResult < String >) -> Unit , progressObserver: (progress: Long , size: Long ) -> Unit , cancelObserver: ( CancelLoadCallback ) -> Unit , directoryName: String = DOWNLOAD_DIRECTORY): Unit |
getFilePath | open fun getFilePath(fileId: String , fileName: String , directoryName: String = DOWNLOAD_DIRECTORY): String ? |
getOrCreateDirectoryPath | open fun getOrCreateDirectoryPath(directoryName: String ): String |