Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Represents a sensor data report. Sensor data reports contain data field values generated by a sensor and a time stamp that indicates when the data report was created.
Retrieve a sensor data report asynchronously by subscribing to the ISensorEvents::OnDataUpdated event, or synchronously by calling ISensor::GetData. In addition to the methods inherited from IUnknown, the ISensorDataReport interface exposes the following methods.
Inheritance
The ISensorDataReport interface inherits from the IUnknown interface.
Methods
The ISensorDataReport interface has these methods.
| ISensorDataReport::GetSensorValue Retrieves a single data field value from the data report. | 
| ISensorDataReport::GetSensorValues Retrieves a collection of data field values. | 
| ISensorDataReport::GetTimestamp Retrieves the time at which the data report was created. | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] | 
| Minimum supported server | None supported | 
| Target Platform | Windows | 
| Header | sensorsapi.h |