Skip to main content

connect_to_camera

Function connect_to_camera 

Source
pub async fn connect_to_camera(
    service_context: &ServiceContext,
    external_publisher: ExternalEventPublisher,
) -> Result<DeviceProxy, Error>
Expand description

Establishes a connection to the fuchsia.camera3.Device api by watching the camera id and using it to connect to the device.