goOffline

fun goOffline()

Forces disconnection of the Datasync service associated with this instance from the Webcom back end.

It makes the shouldBeOnline method return false whatever the network state and all datasync operations work offline on the client. The reconnection to the back end must be forced by calling the goOnline method.