PerceptionColorFrameReader.TryReadLatestFrame Method
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.
Attempts to read the most recent frame that is available to this color frame reader.
public:
virtual PerceptionColorFrame ^ TryReadLatestFrame() = TryReadLatestFrame;
PerceptionColorFrame TryReadLatestFrame();
/// [Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameReader may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
PerceptionColorFrame TryReadLatestFrame();
public PerceptionColorFrame TryReadLatestFrame();
[Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameReader may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionColorFrame TryReadLatestFrame();
function tryReadLatestFrame()
Public Function TryReadLatestFrame () As PerceptionColorFrame
Returns
If the attempt was successful, this method returns the most recent frame that is available to this color frame reader. If the attempt was not successful, this method returns null.
- Attributes