openDocument

abstract fun openDocument(options: SyncOptions, observer: SyncDocumentObserver, output: SuccessListener<SyncDocument>)

Open or create a SyncDocument object.

Parameters

options

SyncOptions that specify open mode and possible SID or Unique Name of the SyncDocument.

observer

Observer to receive callbacks on all actions performed on the document both locally and remotely.

output

Listener that will receive opened document in its onSuccess() callback or any error in onError() callback.