CompassReading.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 compass 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)


Public Property Timestamp As DateTimeOffset
public DateTimeOffset Timestamp { get; internal set; }

Property Value

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



Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


CompassReading Structure

Microsoft.Devices.Sensors Namespace