windows::Devices::Sensors

Trait IHumanPresenceSensorExtension_Impl

pub trait IHumanPresenceSensorExtension_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(&self, deviceInterface: &HSTRING) -> Result<()>;
    fn Start(&self) -> Result<()>;
    fn ProcessReading(
        &self,
        reading: Ref<'_, HumanPresenceSensorReading>,
    ) -> Result<HumanPresenceSensorReadingUpdate>;
    fn ProcessReadingTimeoutExpired(
        &self,
        reading: Ref<'_, HumanPresenceSensorReading>,
    ) -> Result<()>;
    fn Stop(&self) -> Result<()>;
    fn Uninitialize(&self) -> Result<()>;
    fn Reset(&self) -> Result<()>;
}

Required Methods§

fn Initialize(&self, deviceInterface: &HSTRING) -> Result<()>

fn Start(&self) -> Result<()>

fn ProcessReading( &self, reading: Ref<'_, HumanPresenceSensorReading>, ) -> Result<HumanPresenceSensorReadingUpdate>

fn ProcessReadingTimeoutExpired( &self, reading: Ref<'_, HumanPresenceSensorReading>, ) -> Result<()>

fn Stop(&self) -> Result<()>

fn Uninitialize(&self) -> Result<()>

fn Reset(&self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§