ISensorReading Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The interface that is implemented by all sensor reading classes.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)

Syntax

Public Interface ISensorReading
public interface ISensorReading

The ISensorReading type exposes the following members.

Properties

  Name Description
Timestamp Gets a timestamp indicating the time at which the sensor reading was taken. This can be used to correlate readings across sensors and provide additional input to algorithms that process raw sensor data.

Top

Remarks

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_SENSORS

Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Microsoft.Devices.Sensors Namespace