Table of Contents

Interface IRemoteStorageAdapter

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

Remote storage operations used by AttachmentQueue. Implementations handle uploading, downloading, and deleting files from remote storage.

public interface IRemoteStorageAdapter

Remarks

All operations must be idempotent — partial-success retries will replay them, and a missing file must not throw.

Methods

DeleteFileAsync(Attachment)

Deletes a file from remote storage.

DownloadFileAsync(Attachment)

Downloads a file from remote storage as a stream.

UploadFileAsync(Stream, Attachment)

Uploads a file to remote storage from a stream.