Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-2965

ChangeEvent shape not well documented

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Major
    • None
    • None
    • couchbase-lite

    Description

      First comment:

      http://developer.couchbase.com/mobile/develop/references/couchbase-lite/couchbase-lite/database/database/index.html#string-change

      In the Java Code, you can see the shape:

      ```
      public static class ChangeEvent {

      private Database source;
      private boolean isExternal;
      private List<DocumentChange> changes;

      public ChangeEvent(Database source, boolean isExternal, List<DocumentChange> changes)

      { this.source = source; this.isExternal = isExternal; this.changes = changes; }

      public Database getSource()

      { return source; }

      public boolean isExternal()

      { return isExternal; }

      public List<DocumentChange> getChanges()

      { return changes; }

      }
      ```

      see other comments: https://github.com/couchbaselabs/couchbase-mobile-portal/issues/155

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jamiltz James Nocentini
            jamiltz James Nocentini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty