Interface DittoAttachmentFetchResult

All Known Implementing Classes:
DittoAttachmentFetchResult.Completed, DittoAttachmentFetchResult.Deleted

public sealed interface DittoAttachmentFetchResult permits DittoAttachmentFetchResult.Completed, DittoAttachmentFetchResult.Deleted

The result of fetching an attachment.

Updates relating to an attachment fetch are delivered by registering a DittoAttachmentFetcher through a call to DittoStore.fetchAttachment.

This is a sealed interface with two possible outcomes: