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 ref class PerceptionTimestamp sealed
class PerceptionTimestamp sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)] [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)] [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)] public sealed class PerceptionTimestamp
Public NotInheritable Class PerceptionTimestamp
Windows 10 requirements
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|Windows version||SDK version||Value added|
For timestamps about the future, gets the span of time between when the prediction was made and TargetTime.
Gets the specific time that is the subject of this timestamp, represented in the system-relative QueryPerformanceCounter (QPC) time domain.
Gets the specific time that is the subject of this timestamp.