saveAsync

abstract fun saveAsync(@NonNull path: String): Completable

Saves the document to an external file even if it hasn't been changed. This will not clear the wasModified flag on this document instance, and will not replace the source of this document either (i.e. subsequent calls to saveIfModified will still save the document back to the original file).

Return

Completable for the save process.

Parameters

path

Absolute filepath to the output document file.


abstract fun saveAsync(@NonNull path: String, @NonNull saveOptions: DocumentSaveOptions): Completable

Saves the document to an external file even if it hasn't been changed. This will not clear the wasModified flag on this document instance, and will not replace the source of this document either (i.e. subsequent calls to saveIfModified will still save the document back to the original file).

Return

Completable for the save process.

Parameters

path

Absolute filepath to the output document file.

saveOptions

Save options for the document.