finishContentEditingSession

Called to exit a current content editing session. If there are unsaved changes, a dialog is shown asking how to proceed.


abstract fun finishContentEditingSession(saveContent: Boolean)

Called to exit a current content editing session

Parameters

saveContent

pass true if any modified content should be saved back to the document. In that case the document will be reloaded after saving. Otherwise just pass false, which will discard any content changes and exits content editing mode.