PerceptionTimestampHelper PerceptionTimestampHelper PerceptionTimestampHelper PerceptionTimestampHelper Class

Definition

Static methods for working with PerceptionTimestamp objects.

public : static class PerceptionTimestampHelperpublic static class PerceptionTimestampHelperPublic Static Class PerceptionTimestampHelper// You can use this class in JavaScript.
Attributes
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)

Methods

FromHistoricalTargetTime(DateTime) FromHistoricalTargetTime(DateTime) FromHistoricalTargetTime(DateTime) FromHistoricalTargetTime(DateTime)

Gets a timestamp that targets the specified time in the past.

public : static PerceptionTimestamp FromHistoricalTargetTime(DateTime targetTime)public static PerceptionTimestamp FromHistoricalTargetTime(DateTimeOffset targetTime)Public Static Function FromHistoricalTargetTime(targetTime As DateTimeOffset) As PerceptionTimestamp// You can use this method in JavaScript.
Parameters
targetTime
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The moment in the past to target with the timestamp.

Returns