DittoAttachmentFetchEvent
public enum DittoAttachmentFetchEvent
A representation of the events that can occur in relation to an attachment fetch.
There are three different attachment fetch events: completed, progress, or deleted.
There will be at most one completed or deleted event per attachment fetch. There can be many
progress events delivered for each attachment fetch.
Updates relating to an attachment fetch are delivered by registering a DittoAttachmentFetcher
through a call to fetchAttachment on a DittoCollection instance.
-
Undocumented
Declaration
Swift
case completed(DittoAttachment) -
Undocumented
Declaration
Swift
case progress(downloadedBytes: UInt64, totalBytes: UInt64) -
Undocumented
Declaration
Swift
case deleted