Udostępnij za pośrednictwem


CameraOcclusionStateChangedEventArgs Class

Definition

Provides information for the CameraOcclusionInfo.StateChanged event, which is raised when the camera occlusion state for the camera device changes.

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
Inheritance
Object Platform::Object IInspectable CameraOcclusionStateChangedEventArgs
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Properties

State

Gets the new occlusion state of the camera device.

Applies to

See also