BarcodeScannerFrameReader BarcodeScannerFrameReader BarcodeScannerFrameReader BarcodeScannerFrameReader BarcodeScannerFrameReader Class


Reads video frames from a camera.

public : sealed class BarcodeScannerFrameReader : IClosable
struct winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader : IClosable
public sealed class BarcodeScannerFrameReader : IDisposable
Public NotInheritable Class BarcodeScannerFrameReader Implements IDisposable
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)


Connection Connection Connection Connection Connection

Gets the BarcodeScannerProviderConnection being used by the frame reader.


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

Disposes of the frame reader and associated resources, and stops requesting video frames.

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

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

StartAsync() StartAsync() StartAsync() StartAsync() StartAsync()

Starts reading video frames from the camera.

StopAsync() StopAsync() StopAsync() StopAsync() StopAsync()

Stops reading video frames from the camera.

TryAcquireLatestFrameAsync() TryAcquireLatestFrameAsync() TryAcquireLatestFrameAsync() TryAcquireLatestFrameAsync() TryAcquireLatestFrameAsync()

Acquires the latest available frame from the camera.


FrameArrived FrameArrived FrameArrived FrameArrived FrameArrived

Event that is raised when a frame is ready to be acquired. This event will not be raised until the frame reader is started by using StartAsync.

See also