Export (0) Print
Expand All

ISensorEvents interface

The callback interface you must implement if you want to receive sensor events.

To subscribe to events for a particular sensor, call ISensor::SetEventSink.

In addition to the methods inherited from IUnknown, the ISensorEvents interface exposes the following methods.

Members

The ISensorEvents interface inherits from the IUnknown interface but does not have additional members.

MethodDescription
OnEvent Provides event notifications by event ID.
OnDataUpdated Provides sensor event data.
OnLeave Provides notification that a sensor is no longer connected.
OnStateChanged Provides a notification that a sensor state has changed.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

Sensorsapi.h

Library

Sensorsapi.lib

DLL

Sensorsapi.dll

See also

COM Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft