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
 
uint64_t documentCount
 Very-approximate fractional completion, from 0.0 to 1.0. 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

◆ documentCount

uint64_t CBLReplicatorProgress::documentCount

Very-approximate fractional completion, from 0.0 to 1.0.

Number of documents transferred so far


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