public Size getFramingRectSize() {
        return framingRectSize;
    }
Pause scanning and preview; waiting for the Camera to be closed.

This blocks the main thread.
zxing-android-embedded/src/com/journeyapps/barcodescanner/CameraPreview.java