Ditto  1.0.11
Classes | List of all members
DittoSDK.DittoAttachmentFetchEvent Class Reference

A representation of the events that can occur in relation to an attachment fetch. More...

Inheritance diagram for DittoSDK.DittoAttachmentFetchEvent:
DittoSDK.DittoAttachmentFetchEvent.Completed DittoSDK.DittoAttachmentFetchEvent.Deleted DittoSDK.DittoAttachmentFetchEvent.Progress

Classes

class  Completed
 An attachment fetch event used when the attachment's download has completed. More...
 
class  Deleted
 An attachment fetch event used when the attachment is deleted. More...
 
class  Progress
 An attachment fetch event used when the attachment's download has progressed but is not yet complete. More...
 

Detailed Description

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 DittoCollection.FetchAttachment(DittoAttachmentToken, Action<DittoAttachmentFetchEvent>).