PerceptionInfraredFrameReader
PerceptionInfraredFrameReader
PerceptionInfraredFrameReader
PerceptionInfraredFrameReader
Class
Definition
Reads infrared frames from a infrared frame source.
public : sealed class PerceptionInfraredFrameReader : IPerceptionInfraredFrameReader, IClosablepublic sealed class PerceptionInfraredFrameReader : IPerceptionInfraredFrameReader, IDisposablePublic NotInheritable Class PerceptionInfraredFrameReader Implements IPerceptionInfraredFrameReader, IDisposable// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
IsPaused IsPaused IsPaused IsPaused
Gets a boolean value indicating whether or not this reader is paused.
public : PlatForm::Boolean IsPaused { get; set; }public bool IsPaused { get; set; }Public ReadWrite Property IsPaused As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
A boolean value indicating whether or not this reader is paused.
Source Source Source Source
Gets the infrared frame source this reader gets frames from.
public : PerceptionInfraredFrameSource Source { get; }public PerceptionInfraredFrameSource Source { get; }Public ReadOnly Property Source As PerceptionInfraredFrameSource// You can use this property in JavaScript.
- Value
- PerceptionInfraredFrameSource PerceptionInfraredFrameSource PerceptionInfraredFrameSource PerceptionInfraredFrameSource
The infrared frame source this reader gets frames from.
Methods
Close() Close() Close() Close()
Releases system resources that are exposed by a Windows Runtime object
public : void Close()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
Dispose() Dispose() Dispose() Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
This member is not implemented in C++void Dispose()Sub Disposevoid Dispose()
TryReadLatestFrame() TryReadLatestFrame() TryReadLatestFrame() TryReadLatestFrame()
Attempts to read the most recent frame that is available to this infrared frame reader.
public : PerceptionInfraredFrame TryReadLatestFrame()public PerceptionInfraredFrame TryReadLatestFrame()Public Function TryReadLatestFrame() As PerceptionInfraredFrame// You can use this method in JavaScript.
If the attempt was successful, this method returns the most recent frame that is available to this infrared frame reader. If the attempt was not successful, this method returns null.
Events
FrameArrived FrameArrived FrameArrived FrameArrived
Subscribes to the FrameArrived event. This event is fired whenever a new frame arrives from the infrared frame source.
public : event TypedEventHandler FrameArrived<PerceptionInfraredFrameReader, PerceptionInfraredFrameArrivedEventArgs>public event TypedEventHandler FrameArrived<PerceptionInfraredFrameReader, PerceptionInfraredFrameArrivedEventArgs>Public Event FrameArrived<PerceptionInfraredFrameReader, PerceptionInfraredFrameArrivedEventArgs>// You can use this event in JavaScript.