CameraOcclusionStateChangedEventArgs 类

定义

提供 CameraOcclusionInfo.StateChanged 事件的信息,该事件在相机设备的相机遮挡状态更改时引发。

public ref class CameraOcclusionStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CameraOcclusionStateChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CameraOcclusionStateChangedEventArgs
Public NotInheritable Class CameraOcclusionStateChangedEventArgs
继承
Object Platform::Object IInspectable CameraOcclusionStateChangedEventArgs
属性

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

属性

State

获取相机设备的新遮挡状态。

适用于

另请参阅