createCameraDeviceWatcher
createCameraDeviceWatcher
ConstcreateCameraDeviceWatcher():Promise<EventEmitter<DeviceWatcherEvents, any>>
Asynchronously returns an event emitter that notifies changes in all camera devices. This is equivalent to calling createDeviceWatcher({ targets: ['camera'] }), so refer to createDeviceWatcher for additional information about the returned event emitter.
Returns
Promise<EventEmitter<DeviceWatcherEvents, any>>