Skip to main content

Crate settings_camera

Crate settings_camera 

Source

Enums§

CameraWatcherEvent
Events reported by the camera watcher agent to clients of the camera software mute state.

Constants§

CAMERA_WATCHER_TIMEOUT
The amount of time in milliseconds to wait for a camera device to be detected.

Functions§

connect_to_camera
Connects to the camera device with the given id.
connect_to_cameras
Establishes connections to all fuchsia.camera3.Device instances by watching the camera ids and using them to connect to the devices.
connect_to_cameras_with_watcher
Like connect_to_cameras, but also returns the camera device watcher connection, which can be used to watch for cameras that are added or removed later, and the id of each camera.
watch_camera_changes
Waits for the next change to the set of camera devices reported by camera_watcher_proxy.

Type Aliases§

CameraWatcherProxy
A proxy to fuchsia.camera3.DeviceWatcher.