Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaCaptureSettings class

Contains read-only configuration settings for the MediaCapture object.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Members

The MediaCaptureSettings class has these types of members:

Methods

The MediaCaptureSettings class inherits methods from the Object class (C#/VB/C++).

Properties

The MediaCaptureSettings class has these properties.

PropertyAccess typeDescription

AudioDeviceId

Read-only

Gets the DeviceInformation.Id of the microphone.

AudioProcessing

Read-only

Gets the audio processing mode.

CameraSoundRequiredForRegion

Read-only

Gets a value that indicates if the device’s region requires that a sound be played when a photo or video is captured.

ConcurrentRecordAndPhotoSequenceSupported

Read-only

Gets a value that indicates if the capture device supports recording video and taking a photo sequence at the same time.

ConcurrentRecordAndPhotoSupported

Read-only

Gets a value that indicates if the capture device supports recording video and taking a photo at the same time.

Horizontal35mmEquivalentFocalLength

Read-only

Gets the horizontal 35mm equivalent focal length of the camera lens on the capture device.

MediaCategory

Read-only

Gets the media category of the media.

PhotoCaptureSource

Read-only

Gets the stream that is used for photo capture.

PitchOffsetDegrees

Read-only

Gets the pitch offset of the camera in degrees.

StreamingCaptureMode

Read-only

Gets the streaming mode.

Vertical35mmEquivalentFocalLength

Read-only

Gets the vertical 35mm equivalent focal length of the camera lens on the capture device.

VideoDeviceCharacteristic

Read-only

Gets a value that indicates which video streams are independent of each other.

VideoDeviceId

Read-only

Gets the DeviceInformation.Id of the video camera.

 

Remarks

To get this object, retrieve the MediaCapture.MediaCaptureSettings property.

See the Media Capture Sample for an example of using media capture.

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Capture
Windows::Media::Capture [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

webcam
microphone

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Capture
Windows::Media::Capture [C++]

Metadata

Windows.winmd

Capabilities

webcam
microphone

Attributes

[DualApiPartition()]
[MarshalingBehavior(Standard)]
[Threading(MTA)]
[Version(0x06020000)]

See also

Object

 

 

Show: