public override void OnOpened(CameraDevice cameraDevice) { // This method is called when the camera is opened. We start camera preview here. owner.mCameraOpenCloseLock.Release(); owner.mCameraDevice = cameraDevice; owner.CreateCameraPreviewSession(); }
public override void OnOpened(CameraDevice cameraDevice) { // camera preview starts here. owner.mCameraOpenCloseLock.Release(); owner.mCameraDevice = cameraDevice; owner.CreateCameraPreviewSession(); }