PerceptionInfraredFrameArrivedEventArgs PerceptionInfraredFrameArrivedEventArgs PerceptionInfraredFrameArrivedEventArgs PerceptionInfraredFrameArrivedEventArgs Class

Definition

Contains information about a infrared frame arrived event.

public : sealed class PerceptionInfraredFrameArrivedEventArgs : IPerceptionInfraredFrameArrivedEventArgspublic sealed class PerceptionInfraredFrameArrivedEventArgs : IPerceptionInfraredFrameArrivedEventArgsPublic NotInheritable Class PerceptionInfraredFrameArrivedEventArgs Implements IPerceptionInfraredFrameArrivedEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

RelativeTime RelativeTime RelativeTime RelativeTime

Gets the relative time of this frame.

public : TimeSpan RelativeTime { get; }public TimeSpan RelativeTime { get; }Public ReadOnly Property RelativeTime As TimeSpan// You can use this property in JavaScript.
Value
TimeSpan TimeSpan TimeSpan TimeSpan

The relative time of this frame.

Methods

TryOpenFrame() TryOpenFrame() TryOpenFrame() TryOpenFrame()

Attempts to open the infrared frame that has arrived.

public : PerceptionInfraredFrame TryOpenFrame()public PerceptionInfraredFrame TryOpenFrame()Public Function TryOpenFrame() As PerceptionInfraredFrame// You can use this method in JavaScript.
Returns

If the attempt is successful, this method returns the newly-arrived infrared frame. If the attempt is unsuccessful, this value is unchanged.

Remarks

Existing frames should be closed before opening new frames. If an app has three or more frames still open when this method is called, TryOpenFrame will fail.