react-native-vision-cameraFunctions
getDefaultCameraDevice
function getDefaultCameraDevice(position: TargetCameraPosition): Promise<CameraDevice | undefined>Returns the default CameraDevice for the given CameraPosition.
This is usually the physical wide-angle Camera on the respective side of the device.
If no Camera is available on the given position, this returns undefined.
See
Deprecated
Use the hooks API, or call VisionCamera.createDeviceFactory() yourself.