ReplicationDelegate
public protocol ReplicationDelegate
A Replication’s delegate is called with progress information while the replication is running and when it stops.
-
Called when a replication changes its status (activity level and/or progress) while running.
Declaration
Swift
func replication(_ replication: CBLReplication, didChange status: Replication.Status) -
Called when a replication stops, either because it finished or due to an error.
Declaration
Swift
func replication(_ replication: CBLReplication, didStopWithError error: Error?)
ReplicationDelegate Protocol Reference