dittosynckit / live.ditto / DittoAttachmentStatus

DittoAttachmentStatus

sealed class DittoAttachmentStatus

A representation of the status of an attachment.

An attachment's status can be one of three types: completed, incomplete, or deleted.

Updates to an attachment's status are delivered by registering a DittoAttachmentFetcher through a call to fetchAttachment on a DittoCollection instance.

Types

Completed

class Completed : DittoAttachmentStatus

Deleted

object Deleted : DittoAttachmentStatus

Incomplete

class Incomplete : DittoAttachmentStatus