Timestamp Property
Collapse the table of content
Expand the table of content

ISensorReading.Timestamp Property

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

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.

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

DateTimeOffset Timestamp { get; }

Property Value

Type: System.DateTimeOffset
Type: DateTimeOffset. The time at which the sensor reading was taken.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft