I am trying to use Android.Camera2 in the Android portion of a Xamarin Forms app. It is largely working. Now it was brought to my attention that there are Logical Camera Devices which may or may not contain Physical Camera Devices.
under android.hardware.camera2.CameraCharacteristics.getPhysicalCameraIds() it says:
Returns the set of physical camera ids that this logical CameraDevice is made up of.
So, in my code I get a cameraCharacteristics by:
characteristics = cameraManager.GetCameraCharacteristics(id);
where id is a logical camera Id which I got from:
string cameraIds = cameraManager.GetCameraIdList();
And there I do not see anything about getPhysicalCameraIds().
What am I missing here? Any insight is much appreciated.