예제 #1
0
 public override void OnCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result)
 {
     if (Fragment != null && File != null)
     {
         Fragment.startPreview();
     }
 }
예제 #2
0
 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);
     }
 }