pub async fn write_calibration_data(
        &self,
        calibration_data: &mut Buffer,
        file_path: String,
    ) -> Result<Value, Error> {
        const TAG: &str = "CameraFactoryFacade::write_calibration_data";
        let svc = self.init_check(TAG).await?;
        match svc.write_calibration_data(calibration_data, &file_path).await? {
            Ok(_) => Ok(to_value(())?),
            Err(_) => Ok(to_value(Sl4fCameraFactoryError::Streaming)?),
        }
    }
/// Instructs the device to save tuning data to a persistent factory partition.
///
/// # Arguments
/// * `calibration_data`: A blob of calibration data to be written to disk.
/// * `file_path`: Outlines where on device the data is to be written.
///
/// Outputs an empty response.
Instructs the device to save tuning data to a persistent factory partition.
Instructs the device to save tuning data to a persistent factory partition .
pub async fn write_calibration_data(
        &self,
        calibration_data: &mut Buffer,
        file_path: String,
    ) -> Result<Value, Error> {
        const TAG: &str = "CameraFactoryFacade::write_calibration_data";
        let svc = self.init_check(TAG).await?;
        match svc.write_calibration_data(calibration_data, &file_path).await? {
            Ok(_) => Ok(to_value(())?),
            Err(_) => Ok(to_value(Sl4fCameraFactoryError::Streaming)?),
        }
    }
pub async fn write_calibration_data ( & self , calibration_data : & mut Buffer , file_path : String , ) -> Result < Value , Error > { const TAG : & str = " " ; let svc = self . init_check ( TAG ) . await ? ; match svc . write_calibration_data ( calibration_data , & file_path ) . await ? { Ok ( _ ) => Ok ( to_value ( ( ) ) ? ) , Err ( _ ) => Ok ( to_value ( Sl4fCameraFactoryError :: Streaming ) ? ) , } }
Instructs the device to save tuning data to a persistent factory partition.
Instructs the device to save tuning data to a persistent factory partition .
&self
calibration_data
&mut Buffer
file_path
String