AppBroadcastPreviewStreamVideoFrame 类

定义

表示应用广播预览流中的视频帧。

备注

此 API 需要 appBroadcastappBroadcastSettings 功能,此功能并非对所有 Windows 应用都可用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对此 API 的调用将在运行时失败。

public ref class AppBroadcastPreviewStreamVideoFrame sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastPreviewStreamVideoFrame final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastPreviewStreamVideoFrame
Public NotInheritable Class AppBroadcastPreviewStreamVideoFrame
继承
Object Platform::Object IInspectable AppBroadcastPreviewStreamVideoFrame
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
API contract
Windows.Media.Capture.AppBroadcastContract (在 v1.0 中引入)
应用功能
appBroadcast appBroadcastSettings

属性

VideoBuffer

获取包含应用广播预览流视频帧的图像数据的缓冲区。

VideoHeader

获取标头,该标头描述应用广播预览流视频帧的图像数据。

适用于