MediaCaptureDeviceExclusiveControlReleaseMode 열거형

정의

카메라에 대한 단독 액세스가 해제되는 조건을 지정합니다.

public enum class MediaCaptureDeviceExclusiveControlReleaseMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
enum class MediaCaptureDeviceExclusiveControlReleaseMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
public enum MediaCaptureDeviceExclusiveControlReleaseMode
var value = Windows.Media.Capture.MediaCaptureDeviceExclusiveControlReleaseMode.onDispose
Public Enum MediaCaptureDeviceExclusiveControlReleaseMode
상속
MediaCaptureDeviceExclusiveControlReleaseMode
특성

Windows 요구 사항

디바이스 패밀리
Windows 11 Insider Preview (10.0.23504.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v15.0에서 도입되었습니다.)

필드

OnAllStreamsStopped 1

연결된 카메라의 모든 스트림이 중지되면 배타적 컨트롤이 해제됩니다.

OnDispose 0

연결된 카메라 개체가 삭제되면 배타적 컨트롤이 해제됩니다.

설명

[TryAcquireExclusiveControl](xref:Windows.Media.Devices.VideoDeviceController.TryAcquireExclusiveControl(System.String,Windows.Media.Capture.MediaCaptureDeviceExclusiveControlReleaseMode)을 호출하여 카메라에 대한 단독 액세스를 가져옵니다.

적용 대상