Couchbase Lite C
Couchbase Lite C API
Data Fields
CBLReplicatorProgress Struct Reference

A fractional progress value, ranging from 0.0 to 1.0 as replication progresses. More...

#include <cbl/CBLReplicator.h>

Data Fields

float complete
 Very-approximate fractional completion, from 0.0 to 1.0. More...
 
uint64_t documentCount
 Number of documents transferred so far. More...
 

Detailed Description

A fractional progress value, ranging from 0.0 to 1.0 as replication progresses.

The value is very approximate and may bounce around during replication; making it more accurate would require slowing down the replicator and incurring more load on the server. It's fine to use in a progress bar, though.

Field Documentation

◆ complete

float CBLReplicatorProgress::complete

Very-approximate fractional completion, from 0.0 to 1.0.

◆ documentCount

uint64_t CBLReplicatorProgress::documentCount

Number of documents transferred so far.


The documentation for this struct was generated from the following file: