PerceptionInfraredFrameReader.TryReadLatestFrame 方法

定义

尝试读取此红外帧阅读器可用的最新帧。

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

返回

如果尝试成功,此方法将返回可用于此红外帧阅读器的最新帧。 如果尝试不成功,此方法将返回 null。

属性

适用于