ditto / live.ditto / Ditto / startSync

startSync

fun startSync(): Unit

Starts the network transports. Ditto will connect to other devices and synchronize data with them where appropriate.

By default Ditto will enable all peer-to-peer transport types. On Android this means Bluetooth LE and LAN. The network configuration can be customized using the setTransportConfig method.