getAllCameraDevices

function getAllCameraDevices(): CameraDevice[]

Returns all CameraDevices currently available on this phone.

This is a synchronous snapshot - it only contains devices that have already been discovered. If you want to reactively listen to device changes (e.g. when a USB Camera is plugged in or out), use addOnCameraDevicesChangedListener or the useCameraDevices hook instead.

See

On this page

No Headings