public override void OnCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result) { if (Fragment != null && File != null) { Fragment.startPreview(); } }
public override void OnOpened(CameraDevice camera) { fragment.cameraDevice = camera; fragment.startPreview(); fragment.cameraOpenCloseLock.Release(); if (null != fragment.textureView) { fragment.configureTransform(fragment.textureView.Width, fragment.textureView.Height); } }