Currently working on a barcode scanner on xamarin android. I am using the google vision API.
cameraSource = new CameraSource
.Builder(this, barcodeDetector)
.SetRequestedPreviewSize(1920, 1080)
.Build();
This is the code that i'm using to build the camera view. If i understand correctly, SetRequestedPreviewSize is used to display the camera view on the phone. How can i change the resolution that the camera of the phone is using? I couldn't find any answer sadly.