Sync on demand (Xamarin)

I want to use CouchBase Lite in my app (Xamarin).
Our requirement is that the app is not automatically synchronized. so we need sync on demand.

Is there a way or (better) a documentation or sample project to build a sync on demand in Couchbase Lite?

Iqbal

@priya.rajagopal responded via email:

Use the continuous mode property in replicator config to specify if you need it continuous or on demand.
Its documented here- https://docs.couchbase.com/mobile/2.7.0/couchbase-lite-net/api/Couchbase.Lite.Sync.ReplicatorConfiguration.html#Couchbase_Lite_Sync_ReplicatorConfiguration_Continuous