Class MultipeerReplicatorStatus

java.lang.Object
com.couchbase.lite.MultipeerReplicatorStatus

public final class MultipeerReplicatorStatus extends Object
The multipeer replicator’s status.
  • Constructor Details

    • MultipeerReplicatorStatus

      public MultipeerReplicatorStatus(boolean active, @Nullable CouchbaseLiteException error)
  • Method Details

    • isActive

      public boolean isActive()
      Whether the multipeer replicator is active or not.

      note that this value is approximate.

      Returns:
      true if the replicator is active, false otherwise.
    • getError

      @Nullable public CouchbaseLiteException getError()
      Error, if any.
      Returns:
      The error, or null if no error occurred.