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