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 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 10 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
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.