MediaCaptureSharingMode MediaCaptureSharingMode MediaCaptureSharingMode MediaCaptureSharingMode Enum

Definition

Specifies the media frame source sharing mode for a MediaCapture object.

public : enum class MediaCaptureSharingMode
public enum MediaCaptureSharingMode
Public Enum MediaCaptureSharingMode
var value = Windows.Media.Capture.MediaCaptureSharingMode.exclusiveControl;
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
backgroundMediaRecording

Fields

ExclusiveControl ExclusiveControl ExclusiveControl ExclusiveControl

The MediaCapture should have exclusive control of one or more of the frame sources specified in SourceGroup.

SharedReadOnly SharedReadOnly SharedReadOnly SharedReadOnly

The MediaCapture can acquire frames from the frame sources specified in SourceGroup but can't adjust the configuration of the frame sources.

Remarks

Specify the MediaCapture sharing mode by setting the SharingMode property of the MediaCaptureInitializationSettings object before calling MediaCapture.InitializeAsync.