Export (0) Print
Expand All

ISensorCollection interface

Represents a collection of sensors, such as all the sensors connected to a computer.

Retrieve a pointer to ISensorCollection by calling methods of the ISensorManager interface. In addition to the methods inherited from IUnknown, the ISensorCollection interface exposes the following methods.

Members

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

MethodDescription
Add Adds a sensor to the collection.
Clear Empties the sensor collection.
GetAt Retrieves the sensor at the specified index in the collection.
GetCount Retrieves the count of sensors in the collection.
Remove Removes a sensor from the collection. The sensor is specified by a pointer to the ISensor interface to be removed.
RemoveByID Removes a sensor from the collection. The sensor to be removed is specified by its ID.

 

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