Method DownloadFileAsync
- Namespace
- PowerSync.Common.Attachments
- Assembly
- PowerSync.Common.dll
DownloadFileAsync(Attachment)
Downloads a file from remote storage as a stream.
Task<Stream> DownloadFileAsync(Attachment attachment)
Parameters
attachmentAttachmentThe attachment describing the file to download.
Returns
Remarks
The caller disposes the returned stream.