CameraOcclusionStateChangedEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 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
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows 11 (已於 10.0.22000.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)
|
屬性
State |
取得相機裝置的新遮蔽狀態。 |