start Sync
open fun startSync()
Content copied to clipboard
Starts the network transports. Ditto will connect to other devices and sync with them where appropriate.
By default Ditto will enable all peer-to-peer transport types. On Java this means LAN only. The network configuration can be customized using the setTransportConfig
method.
Throws
Thrown if the Ditto instance hasn't been activated by a successful call to setOfflineOnlyLicenseToken
.