Class Conflict

java.lang.Object
com.couchbase.lite.Conflict

public class Conflict extends Object
The representation of conflicting changes in the remote and local instances of a document.
  • Method Details

    • getDocumentId

      @Nullable public String getDocumentId()
      The id of the conflicted document
      Returns:
      the document id.
    • getLocalDocument

      @Nullable public Document getLocalDocument()
      The local instance of the document.
      Returns:
      the local version of the document
    • getRemoteDocument

      @Nullable public Document getRemoteDocument()
      The remote instance of the document.
      Returns:
      the remote version of the document