AppBroadcastCameraCaptureStateChangedEventArgs 类

定义

提供 AppBroadcast.CameraCaptureStateChanged 事件的数据。

注意

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

public ref class AppBroadcastCameraCaptureStateChangedEventArgs 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 AppBroadcastCameraCaptureStateChangedEventArgs 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 AppBroadcastCameraCaptureStateChangedEventArgs
Public NotInheritable Class AppBroadcastCameraCaptureStateChangedEventArgs
继承
Object Platform::Object IInspectable AppBroadcastCameraCaptureStateChangedEventArgs
属性

Windows 要求

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

属性

ErrorCode

获取与事件关联的错误代码。

State

获取一个值,该值指示应用广播相机捕获的新状态。

适用于