hwsecurity-ui / de.cotech.hw.ui / SecurityKeyDialogOptions / Builder / setPreventScreenshots /
setPreventScreenshots
abstract fun setPreventScreenshots(preventScreenshots: Boolean): SecurityKeyDialogOptions.Builder
Sets FLAG_SECURE on the dialog fragment.
This sets the content of the window as ‘secure’, preventing it from appearing in screenshots,screen recordings or from being viewed on non-secure displays.
Default: true