Working With Attachments
-
Represents an attachment and can be used to insert the associated attachment into a document at a specific key.
See moreDeclaration
Swift
public class DittoAttachment : Hashable -
These objects are returned by calls to
See morefetchAttachmentonditto.store.Declaration
Swift
public class DittoAttachmentFetcherextension DittoAttachmentFetcher: Hashableextension DittoAttachmentFetcher: Equatable -
Serves as a token for a specific attachment that you can pass to a call to
See morefetchAttachmenton aDittoCollection.Declaration
Swift
public class DittoAttachmentTokenextension DittoAttachmentToken: Equatableextension DittoAttachmentToken: Hashable -
A representation of the events that can occur in relation to an attachment fetch.
There are three different attachment fetch events:
completed,progress, ordeleted.There will be at most one
completedordeletedevent per attachment fetch. There can be manyprogressevents delivered for each attachment fetch.Updates relating to an attachment fetch are delivered by registering a
See moreDittoAttachmentFetcherthrough a call tofetchAttachmenton aDittoCollectioninstance.Declaration
Swift
public enum DittoAttachmentFetchEvent
Working With Attachments Reference