void function ( ) { if ( camera != null && previewing ) { if ( ! useOneShotPreviewCallback ) { camera . setPreviewCallback ( null ) ; } camera . stopPreview ( ) ; previewCallback . setHandler ( null , 0 ) ; autoFocusCallback . setHandler ( null , 0 ) ; previewing = false ; } }
tells the camera to stop drawing preview frames . concode_field_sep AutoFocusCallback autoFocusCallback concode_elem_sep int MAX_FRAME_HEIGHT concode_elem_sep String TAG concode_elem_sep CameraManager cameraManager concode_elem_sep CameraConfigurationManager configManager concode_elem_sep PreviewCallback previewCallback concode_elem_sep Rect framingRectInPreview concode_elem_sep int MIN_FRAME_HEIGHT concode_elem_sep int SDK_INT concode_elem_sep boolean useOneShotPreviewCallback concode_elem_sep int MAX_FRAME_WIDTH concode_elem_sep Rect framingRect concode_elem_sep boolean initialized concode_elem_sep Camera camera concode_elem_sep boolean previewing concode_elem_sep int MIN_FRAME_WIDTH concode_field_sep void init concode_elem_sep void requestPreviewFrame concode_elem_sep void startPreview concode_elem_sep Rect getFramingRect concode_elem_sep void requestAutoFocus concode_elem_sep PlanarYUVLuminanceSource buildLuminanceSource concode_elem_sep CameraManager get concode_elem_sep void closeDriver concode_elem_sep void openDriver concode_elem_sep Rect getFramingRectInPreview