StartPreview() private method

Starts the camera previe
private StartPreview ( ) : void
return void
Beispiel #1
0
 public override void OnOpened(CameraDevice camera)
 {
     if (Fragment != null)
     {
         Fragment.mCameraDevice = camera;
         Fragment.StartPreview();
         Fragment.mOpeningCamera = false;
     }
 }
Beispiel #2
0
 public override void OnCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result)
 {
     if (Fragment != null && File != null)
     {
         Activity activity = Fragment.Activity;
         if (activity != null)
         {
             Toast.MakeText(activity, "Saved: " + File.ToString(), ToastLength.Short).Show();
             Fragment.StartPreview();
         }
     }
 }
Beispiel #3
0
 public void OnSurfaceTextureAvailable(Android.Graphics.SurfaceTexture surface, int width, int height)
 {
     Fragment.ConfigureTransform(width, height);
     Fragment.StartPreview();
 }