Table of Contents

Method OnDownloadErrorAsync

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

OnDownloadErrorAsync(Attachment, Exception)

Handles a download error for a specific attachment.

Task<bool> OnDownloadErrorAsync(Attachment attachment, Exception error)

Parameters

attachment Attachment

The attachment that failed to download.

error Exception

The error encountered during the download.

Returns

Task<bool>

A task that completes with true to retry the operation, or false to archive the attachment.