/// <summary> /// The <see cref="VariablePhotoCapture.PhotoCaptured"/> event handler. /// </summary> /// <param name="sender">Event sender.</param> /// <param name="capturedFrame">Captured frame.</param> private void VariableCaptureOnPhotoCaptured(object sender, CapturedFrame capturedFrame) { Tracing.Trace("PhotoCamera: Variable frame captured."); this.NotifyPhotoCaptured(CapturedImageFrame.CreateFromCapturedFrame(capturedFrame, this.Orientation, this.CameraType)); }
/// <summary> /// The <see cref="LowLagCapture.PhotoCaptured"/> event handler. /// </summary> /// <param name="sender">Event sender.</param> /// <param name="capturedPhoto">Captured photo.</param> private void LowLagCaptureOnPhotoCaptured(object sender, CapturedPhoto capturedPhoto) { Tracing.Trace("PhotoCamera: Low lag photo captured."); this.NotifyPhotoCaptured(CapturedImageFrame.CreateFromCapturedFrame(capturedPhoto.Frame, this.Orientation, this.CameraType)); }