Hololens/Lib/Cameras.cs
//################################################################################
/// <summary>
/// Stop the camera capture. Afetr, frame could not be captured.
/// </summary>
Stop the camera capture. Afetr, frame could not be captured.
Stop the camera capture . Afetr frame could not be captured .
public async Task StopCapture()
        {
            if (_capture_enabled)
            {
                await _mediaCapture.StopPreviewAsync(); 
                _captureElement.Source = null;
                _captureElement = null;
                _capture_enabled = false;
                _capture_displayed = false;
            }
        }
public async Task StopCapture ( ) { if ( _capture_enabled ) { await _mediaCapture . StopPreviewAsync ( ) ; _captureElement . Source = null ; _captureElement = null ; _capture_enabled = false ; _capture_displayed = false ; } }
Stop the camera capture.
Stop the camera capture .
// stop the preview // unset capture element