PerceptionFrame.RelativeTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Relative Time of this frame relative to other frames from this IPerceptionFrameProvider.
public:
property TimeSpan RelativeTime { TimeSpan get(); void set(TimeSpan value); };
TimeSpan RelativeTime();
void RelativeTime(TimeSpan value);
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
TimeSpan RelativeTime();
void RelativeTime(TimeSpan value);
public System.TimeSpan RelativeTime { get; set; }
public System.TimeSpan RelativeTime { [Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] set; }
var timeSpan = perceptionFrame.relativeTime;
perceptionFrame.relativeTime = timeSpan;
Public Property RelativeTime As TimeSpan
Property Value
The Relative Time of this frame relative to other frames from this IPerceptionFrameProvider.
- Attributes