Package io.writeopia.sdk.manager
Interface DocumentTracker
-
- All Implemented Interfaces:
public interface DocumentTrackerSaves the document automatically based of content changes.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsaveOnStoryChanges(Flow<Pair<StoryState, DocumentInfo>> documentEditionFlow, String userId)Saves both the state of the document using StoryState and also the meta information with DocumentInfo. -
-
Method Detail
-
saveOnStoryChanges
abstract Unit saveOnStoryChanges(Flow<Pair<StoryState, DocumentInfo>> documentEditionFlow, String userId)
Saves both the state of the document using StoryState and also the meta information with DocumentInfo. A flow should be provided that notifies about the changes in the document.
-
-
-
-