Jaa


MediaCaptureSharingMode Enum

Definition

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

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
backgroundMediaRecording

Fields

Name Value Description
ExclusiveControl 0

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

SharedReadOnly 1

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.

Applies to