AppBroadcastPreviewStreamVideoFrame 类

定义

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

注意

此 API 需要 appBroadcast 和 appBroadcastSettings 功能,该功能不适用于所有 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 IInspectable AppBroadcastPreviewStreamVideoFrame
属性

Windows 要求

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

属性

VideoBuffer

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

VideoHeader

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

适用于