Esempio n. 1
0
 public void OnSurfaceTextureAvailable(Android.Graphics.SurfaceTexture surface, int width, int height)
 {
     Page.ConfigureTransform(width, height);
     Page.previousPhoto.LayoutParameters.Height = height;
     Page.previousPhoto.RequestLayout();
     Page.StartPreview();
 }
Esempio n. 2
0
 public override void OnOpened(CameraDevice camera)
 {
     if (Page != null)
     {
         Page.mCameraDevice = camera;
         Page.StartPreview();
         Page.mOpeningCamera = false;
     }
 }