setAllowScreenshots

public GiniCapture.Builder setAllowScreenshots(boolean allowScreenshots)

Set whether screenshots should be allowed or not.

Screenshots are allowed by default.

IMPORTANT: If you disallow screenshots and use the GiniCaptureFragment for launching the SDK in your activity, please clear the FLAG_SECURE on your activity's window after the SDK has finished to allow users to take screenshots of your app again.

Return

the Builder instance

Parameters

allowScreenshots

pass true to allow screenshots or false otherwise.