Document Change

Document Change

Provides details about a Document change.

Syntax


@interface CBLDocumentChange : NSObject
class CBLDocumentChange : NSObject
public class DocumentChange
public class DocumentChange
public class DocumentChange

Summary


Properties
String
documentId { get; }
Gets the Id of the Document that changed.
boolean
isConflict { get; }
Gets if the Document is in conflict.
boolean
Gets if the Revision is the current Revision (i.e. it was chosen as the winner during default conflict resolution).
String
revisionId { get; }
Gets the Id of the new Revision.
URL
sourceUrl { get; }
Gets the remote URL of the source Database from which this change was replicated.

Properties


String documentId { get; }
Gets the Id of the Document that changed.

Syntax

@property (readonly) NSString * documentID
var documentID: String! { get }
public String getDocumentId()
public String getDocumentId()
public String DocumentId { get; }
boolean isConflict { get; }
Gets if the Document is in conflict.

Syntax

@property (readonly) BOOL isConflict
var isConflict: Bool { get }
public boolean isConflict()
public boolean isConflict()
public Boolean IsConflict { get; }
boolean isCurrentRevision { get; }
Gets if the Revision is the current Revision (i.e. it was chosen as the winner during default conflict resolution).

Syntax

@property (readonly) BOOL isCurrentRevision
var isCurrentRevision: Bool { get }
public boolean isCurrentRevision()
public boolean isCurrentRevision()
public Boolean IsCurrentRevision { get; }
String revisionId { get; }
Gets the Id of the new Revision.

Syntax

@property (readonly) NSString * revisionID
var revisionId: String! { get }
public String getRevisionId()
public String getRevisionId()
public String RevisionId { get; }
URL sourceUrl { get; }
Gets the remote URL of the source Database from which this change was replicated.

Syntax

@property (readonly) NSURL source
var source: NSURL! { get }
public URL getSourceUrl()
public URL getSourceUrl()
public Uri SourceUrl { get; }