downloadAuthenticatedToAsFlow
fun BucketApi.downloadAuthenticatedToAsFlow(path: String, file: <Error class: unknown class>, options: DownloadOptionBuilder.() -> Unit = {}): Flow<DownloadStatus>(source)
fun BucketApi.downloadAuthenticatedToAsFlow(path: String, file: <Error class: unknown class>, options: DownloadOptionBuilder.() -> Unit = {}): Flow<DownloadStatus>(source)
Downloads a file from BucketApi.bucketId under path and saves it to file
Return
A flow that emits the download progress and at last the key to the downloaded file
Parameters
path
The path to download the file from
file
The file to save the data to
options
Additional options for the download