public void OnCameraOpened()
 {
     cameraView.PostDelayed(() => {
         // Enable continuous focus mode
         cameraView.ContinuousFocus();
     }, 300);
 }
Example #2
0
 public void OnCameraOpened()
 {
     cameraView.PostDelayed(delegate
     {
         cameraView.SetShutterSound(true);
         cameraView.UseFlash(flashEnabled);
         cameraView.ContinuousFocus();
     }, 300);
 }
 public void OnCameraOpened()
 {
     cameraView.PostDelayed(() =>
     {
         // Disable auto-focus sound:
         cameraView.SetAutoFocusSound(false);
         // Uncomment to disable shutter sound (supported since Android 4.2+):
         // Please note that some devices may not allow disabling the camera shutter sound.
         // If the shutter sound state cannot be set to the desired value, this method will be ignored.
         cameraView.SetShutterSound(false);
         // Enable ContinuousFocus mode:
         cameraView.ContinuousFocus();
     }, 500);
 }