MediaCaptureSettings class

Applies to Windows and Windows Phone

Contains read-only configuration settings for the MediaCapture object.

Syntax


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

Attributes

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

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-onlyGets the DeviceInformation.Id of the microphone.

AudioProcessing

Read-onlyGets the audio processing mode.

CameraSoundRequiredForRegion

Read-onlyGets a value that indicates if the operating system will make a sound when the capture device takes a picture.

ConcurrentRecordAndPhotoSequenceSupported

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

ConcurrentRecordAndPhotoSupported

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

Horizontal35mmEquivalentFocalLength

Read-onlyGets the horizontal 35mm equivalent focal length of the camera lens on the capture device.

MediaCategory

Read-onlyGets the media category of the media.

PhotoCaptureSource

Read-onlyGets the stream that is used for photo capture.

PitchOffsetDegrees

Read-onlyGets the pitch offset of the camera in degrees.

StreamingCaptureMode

Read-onlyGets the streaming mode.

Vertical35mmEquivalentFocalLength

Read-onlyGets the vertical 35mm equivalent focal length of the camera lens on the capture device.

VideoDeviceCharacteristic

Read-onlyGets a value that indicates which video streams are independent of each other.

VideoDeviceId

Read-onlyGets 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

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

 

 

Show:
© 2014 Microsoft