StartPreview() private method

Starts the camera previe
private StartPreview ( ) : void
return void
示例#1
0
 public override void OnOpened(CameraDevice camera)
 {
     if (Fragment != null)
     {
         Fragment.mCameraDevice = camera;
         Fragment.StartPreview();
         Fragment.mOpeningCamera = false;
     }
 }
示例#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();
         }
     }
 }
示例#3
0
 public void OnSurfaceTextureAvailable(Android.Graphics.SurfaceTexture surface, int width, int height)
 {
     Fragment.ConfigureTransform(width, height);
     Fragment.StartPreview();
 }