Trait windows::Win32::Devices::Sensors::ISensorManager_Impl
pub trait ISensorManager_Impl: Sized {
// Required methods
fn GetSensorsByCategory(
&self,
sensorcategory: *const GUID
) -> Result<ISensorCollection>;
fn GetSensorsByType(
&self,
sensortype: *const GUID
) -> Result<ISensorCollection>;
fn GetSensorByID(&self, sensorid: *const GUID) -> Result<ISensor>;
fn SetEventSink(&self, pevents: Option<&ISensorManagerEvents>) -> Result<()>;
fn RequestPermissions(
&self,
hparent: HWND,
psensors: Option<&ISensorCollection>,
fmodal: BOOL
) -> Result<()>;
}
Required Methods§
fn GetSensorsByCategory( &self, sensorcategory: *const GUID ) -> Result<ISensorCollection>
fn GetSensorsByType(&self, sensortype: *const GUID) -> Result<ISensorCollection>
fn GetSensorByID(&self, sensorid: *const GUID) -> Result<ISensor>
fn SetEventSink(&self, pevents: Option<&ISensorManagerEvents>) -> Result<()>
fn RequestPermissions( &self, hparent: HWND, psensors: Option<&ISensorCollection>, fmodal: BOOL ) -> Result<()>
Object Safety§
This trait is not object safe.