void function ( ) { if ( camera != null ) { camera . release ( ) ; camera = null ; } }
closes the camera driver if still in use . must be called from camera thread . concode_field_sep Size previewSize concode_elem_sep String TAG concode_elem_sep AutoFocusManager autoFocusManager concode_elem_sep Size requestedPreviewSize concode_elem_sep Size resolution concode_elem_sep String defaultParameters concode_elem_sep DisplayConfiguration displayConfiguration concode_elem_sep Context context concode_elem_sep int rotationDegrees concode_elem_sep PreviewCallback callback concode_elem_sep CameraPreviewCallback cameraPreviewCallback concode_elem_sep Camera camera concode_elem_sep CameraSettings settings concode_elem_sep AmbientLightManager ambientLightManager concode_elem_sep boolean previewing concode_elem_sep Camera.CameraInfo cameraInfo concode_field_sep CameraSettings getCameraSettings concode_elem_sep void startPreview concode_elem_sep void setPreviewDisplay concode_elem_sep void setCallback concode_elem_sep void setDesiredParameters concode_elem_sep int getCameraRotation concode_elem_sep int calculateDisplayRotation concode_elem_sep void setParameters concode_elem_sep void setCameraDisplayOrientation concode_elem_sep void stopPreview concode_elem_sep boolean isTorchOn concode_elem_sep DisplayConfiguration getDisplayConfiguration concode_elem_sep Size getNaturalPreviewSize concode_elem_sep void requestPreviewFrame concode_elem_sep boolean isCameraRotated concode_elem_sep void setResolution concode_elem_sep void configure concode_elem_sep List<Size> getPreviewSizes concode_elem_sep void onPreviewFrame concode_elem_sep Size getPreviewSize concode_elem_sep void setDisplayConfiguration concode_elem_sep boolean isOpen concode_elem_sep void setTorch concode_elem_sep void setCameraSettings concode_elem_sep Camera.Parameters getDefaultCameraParameters concode_elem_sep void open