setPreviewEnabled

abstract fun setPreviewEnabled(isPreviewEnabled: Boolean): T

Sets whether annotation preview will be enabled when creating annotations. Defaults to true.

Parameters

isPreviewEnabled

true to enable preview, false to disable.