setListenToServerChanges

abstract fun setListenToServerChanges(listenToServerChanges: Boolean)

Controls whether to listen to server changes for this document.

When listening to server changes is enabled, changes to document from other clients will be downloaded and applied automatically.

Parameters

listenToServerChanges

true to get immediate server updates. false to disable listening for server changes. It's callers responsibility to call syncAnnotationsAsync to retrieve latest changes in that case.