Class MultipeerReplicatorStatus

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

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

    • getTransport

      @Nullable public MultipeerTransport getTransport()
      The transport the status is reported for, or null if the status is an aggregate across all transports.
      Returns:
      The transport, or null for an aggregate status.
    • 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.