Get a list of cameras (if any) available on the device, a camera access permission is requested to the user the first time this method is called if needed.
Depending on device features and user permissions for camera access, any of the following errors could be the rejected result of the returned promise:
AbortError
NotAllowedError
NotFoundError
NotReadableError
SecurityError
UnsupportedBrowserError
A promise resolving to the array of available Camera objects (could be empty).
Generated using TypeDoc
A helper object to interact with cameras.