pause

fun pause()

Pauses the camera preview and barcode scanning, but keeps the camera intact.