Edit

Share via


ISensorManagerEvents interface (sensorsapi.h)

Important

Use the UWP Sensor API instead.

The COM-based Sensor API is deprecated and should not be used in new applications. No additional features or enhancements are planned, and support will be limited.

The callback interface for receiving sensor manager events.

To receive event notifications, first call ISensorManager::SetEventSink.

Inheritance

The ISensorManagerEvents interface inherits from the IUnknown interface.

Methods

The ISensorManagerEvents interface has these methods.

 
ISensorManagerEvents::OnSensorEnter

Provides notification when a sensor device is connected.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sensorsapi.h

See also

COM Interfaces