BarcodeScannerVideoFrame 类

定义

表示使用 BarcodeScannerFrameReader 获取的视频帧中的数据。

public ref class BarcodeScannerVideoFrame sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BarcodeScannerVideoFrame final : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerVideoFrame final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BarcodeScannerVideoFrame : System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerVideoFrame : System.IDisposable
Public NotInheritable Class BarcodeScannerVideoFrame
Implements IDisposable
继承
Object Platform::Object IInspectable BarcodeScannerVideoFrame
属性
实现

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

属性

Format

获取视频帧的格式。

Height

获取视频帧的高度。

PixelData

获取视频帧的像素数据。

Width

获取视频帧的宽度。

方法

Close()

释放视频帧和相关资源。

Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。

适用于

另请参阅