Other Classes
The following classes are available globally.
-
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
Completed
orDeleted
event per attachment fetch. There can be manyProgress
events delivered for each attachment fetch.Updates relating to an attachment fetch are delivered by registering a
See moreDITAttachmentFetcher
through a call tofetchAttachment
on aDITCollection
instance.Declaration
Objective-C
@interface DITAttachmentFetchEvent : NSObject
-
An attachment fetch event used when the attachment’s download has completed.
See moreDeclaration
Objective-C
@interface DITAttachmentFetchEventCompleted : DITAttachmentFetchEvent
-
An attachment fetch event used when the attachment’s download progressed but is not yet complete.
See moreDeclaration
Objective-C
@interface DITAttachmentFetchEventProgress : DITAttachmentFetchEvent
-
An attachment fetch event used when the attachment is deleted.
Declaration
Objective-C
@interface DITAttachmentFetchEventDeleted : DITAttachmentFetchEvent
-
Class with static methods to customize the logging behavior from Ditto.
See moreDeclaration
Objective-C
@interface DITLogger : NSObject
-
Used in
See morestart
andstop
calls on theDITDitto
object to start or stop using a TCP server as a transport.Declaration
Objective-C
@interface DITTransportTCPServer : DITTransport
-
Used in
See morestart
andstop
calls on theDITDitto
object to start or stop using a WebSocket server as a transport.Declaration
Objective-C
@interface DITTransportWebServer : DITTransport
-
An update result when the update result’s type is
See moreset
.Declaration
Objective-C
@interface DITUpdateResultSet : DITUpdateResult
-
An update result when the update result’s type is
removed
.Declaration
Objective-C
@interface DITUpdateResultRemoved : DITUpdateResult
-
An update result when the update result’s type is
replacedWithCounter
.Declaration
Objective-C
@interface DITUpdateResultReplacedWithCounter : DITUpdateResult
-
An update result when the update result’s type is
See moreincremented
.Declaration
Objective-C
@interface DITUpdateResultIncremented : DITUpdateResult
-
An update result when the update result’s type is
See morepushed
.Declaration
Objective-C
@interface DITUpdateResultPushed : DITUpdateResult
-
An update result when the update result’s type is
See morepopped
.Declaration
Objective-C
@interface DITUpdateResultPopped : DITUpdateResult
-
An update result when the update result’s type is
See moreinserted
.Declaration
Objective-C
@interface DITUpdateResultInserted : DITUpdateResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isinserted
andasInserted
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultInserted : DITWriteTransactionResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isremoved
andasRemoved
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultRemoved : DITWriteTransactionResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isevicted
andasEvicted
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultEvicted : DITWriteTransactionResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isupdated
andasUpdated
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultUpdated : DITWriteTransactionResult