Share via


PerceptionInfraredFrameReader.TryReadLatestFrame Method

Definition

Attempts to read the most recent frame that is available to this infrared frame reader.

public:
 virtual PerceptionInfraredFrame ^ TryReadLatestFrame() = TryReadLatestFrame;
PerceptionInfraredFrame TryReadLatestFrame();
/// [Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameReader may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
PerceptionInfraredFrame TryReadLatestFrame();
public PerceptionInfraredFrame TryReadLatestFrame();
[Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameReader may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionInfraredFrame TryReadLatestFrame();
function tryReadLatestFrame()
Public Function TryReadLatestFrame () As PerceptionInfraredFrame

Returns

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.

Attributes

Applies to