PerceptionTimestamp PerceptionTimestamp PerceptionTimestamp PerceptionTimestamp PerceptionTimestamp Class


Represents a particular prediction of the future, or a snapshot of the past.

Passing one PerceptionTimestamp instance to multiple API calls ensures that they all return results based on the same set of predicted data, even if Windows has improved predictions available. This ensures that you can correctly correlate the data you get back from these APIs.

public : sealed class PerceptionTimestamp
struct winrt::Windows::Perception::PerceptionTimestamp
public sealed class PerceptionTimestamp
Public NotInheritable Class PerceptionTimestamp
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)


Version history

Windows version SDK version Value added
1809 17763 SystemRelativeTargetTime


PredictionAmount PredictionAmount PredictionAmount PredictionAmount PredictionAmount

For timestamps about the future, gets the span of time between when the prediction was made and TargetTime.

SystemRelativeTargetTime SystemRelativeTargetTime SystemRelativeTargetTime SystemRelativeTargetTime SystemRelativeTargetTime

Gets the specific time that is the subject of this timestamp, represented in the system-relative QueryPerformanceCounter (QPC) time domain.

TargetTime TargetTime TargetTime TargetTime TargetTime

Gets the specific time that is the subject of this timestamp.