PerceptionColorFrameReader PerceptionColorFrameReader PerceptionColorFrameReader PerceptionColorFrameReader PerceptionColorFrameReader Class

Definition

Reads color frames from a color frame source.

public : sealed class PerceptionColorFrameReader : IClosable
struct winrt::Windows::Devices::Perception::PerceptionColorFrameReader : IClosable
public sealed class PerceptionColorFrameReader : IDisposable
Public NotInheritable Class PerceptionColorFrameReader Implements IDisposable
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

IsPaused IsPaused IsPaused IsPaused IsPaused

Gets or sets a boolean value indicating whether or not this reader is paused.

Source Source Source Source Source

Gets the color frame source this reader gets frames from.

Methods

Close() Close() Close() Close() Close()

Releases system resources that are exposed by a Windows Runtime object.

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

TryReadLatestFrame() TryReadLatestFrame() TryReadLatestFrame() TryReadLatestFrame() TryReadLatestFrame()

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

Events

FrameArrived FrameArrived FrameArrived FrameArrived FrameArrived

Subscribes to the FrameArrived event. This event is fired whenever a new frame arrives from the color frame source.

See also