pub async fn detect_camera(&self) -> Result<Value, Error> {
        const TAG: &str = "CameraFactoryFacade::detect_camera";
        let svc = self.init_check(TAG).await?;
        match svc.detect_camera().await? {
            Ok(r) => Ok(to_value(DetectCameraResult { camera_id: r.0, camera_info: r.1 })?),
            Err(_) => Ok(to_value(Sl4fCameraFactoryError::NoCamera)?),
        }
    }
/// Checks whether the device under test has a camera and provides information about
/// it. If the device has multiple cameras, the first one listed is chosen.
///
/// Takes no arguments.
Checks whether the device under test has a camera and provides information about
it. If the device has multiple cameras, the first one listed is chosen.

Takes no arguments.
Checks whether the device under test has a camera and provides information about it . If the device has multiple cameras the first one listed is chosen . Takes no arguments .
pub async fn detect_camera(&self) -> Result<Value, Error> {
        const TAG: &str = "CameraFactoryFacade::detect_camera";
        let svc = self.init_check(TAG).await?;
        match svc.detect_camera().await? {
            Ok(r) => Ok(to_value(DetectCameraResult { camera_id: r.0, camera_info: r.1 })?),
            Err(_) => Ok(to_value(Sl4fCameraFactoryError::NoCamera)?),
        }
    }
pub async fn detect_camera ( & self ) -> Result < Value , Error > { const TAG : & str = " " ; let svc = self . init_check ( TAG ) . await ? ; match svc . detect_camera ( ) . await ? { Ok ( r ) => Ok ( to_value ( DetectCameraResult { camera_id : r . 0 , camera_info : r . 1 } ) ? ) , Err ( _ ) => Ok ( to_value ( Sl4fCameraFactoryError :: NoCamera ) ? ) , } }
Checks whether the device under test has a camera and provides information about
it.
Checks whether the device under test has a camera and provides information about it .
&self