MediaCaptureSharingMode
MediaCaptureSharingMode
MediaCaptureSharingMode
MediaCaptureSharingMode
Enum
Definition
Specifies the media frame source sharing mode for a MediaCapture object.
public : enum class MediaCaptureSharingModepublic enum MediaCaptureSharingModePublic Enum MediaCaptureSharingMode// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
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.