共用方式為


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

取得相機裝置的新遮蔽狀態。

適用於

另請參閱