clearHistory

abstract fun clearHistory()

Clears the history of all currently recorded edits. After calling this method, this UndoManager will have no edits that can be undone or redone.