Share via

Xamarin Camera2basic disable All Auto

hossein tavakoli 471 Reputation points
2021-03-17T19:33:36.607+00:00

I'm using Xamarin camera2basic.

When I click on Picture Button app starting focus and turn flash on , and finally does not take photo. It happening many time.
How can I disable auto focus , and auto exposure and etc...

because I want when I click on Picture Button it take picture as soon as possible.

Developer technologies | .NET | Xamarin
0 comments No comments

Answer accepted by question author

hossein tavakoli 471 Reputation points
2021-03-18T07:31:12.02+00:00

resolved!

                mPreviewRequestBuilder.Set(CaptureRequest.ControlAfMode, (int)ControlAFMode.Auto);

                mPreviewRequestBuilder.Set(CaptureRequest.ControlAeMode, (int)ControlAEMode.OnAutoFlash);

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.