Dela via


MediaCaptureDeviceExclusiveControlStatus Enum

Definition

Specifies the exclusive control status of the media capture device. Exclusive control is required to modify the settings of the capture device, but is not required to obtain media frames from the device.

public enum class MediaCaptureDeviceExclusiveControlStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class MediaCaptureDeviceExclusiveControlStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum MediaCaptureDeviceExclusiveControlStatus
var value = Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatus.exclusiveControlAvailable
Public Enum MediaCaptureDeviceExclusiveControlStatus
Inheritance
MediaCaptureDeviceExclusiveControlStatus
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
backgroundMediaRecording

Fields

Name Value Description
ExclusiveControlAvailable 0

The current app can initialize the capture device with exclusive control.

SharedReadOnlyAvailable 1

Another app has exclusive control of the capture device, so the current app can't obtain exclusive control.

Applies to