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.

Windows.Media.Capture namespace

Provides classes for the capture of photos, audio recordings, and videos.


The Windows.Media.Capture namespace has these types of members:


AdvancedCapturedPhoto Represents a photo captured using system-provided computational photography techniques provided by the AdvancedPhotoCapture class.
AdvancedPhotoCapture Provides methods for capturing photos using system-provided computational photography techniques.
AppCapture Provides information about the app capture feature.
AppCaptureAlternateShortcutKeys Defines alternate shortcut keys for app capture.
AppCaptureManager Provides access to app capture settings.
AppCaptureSettings Represents app capture settings.
CameraCaptureUI Provides a full window UI for capturing audio, video, and photos from a camera. As well as controls for trimming video, time delayed capture, and camera settings.
CameraCaptureUIPhotoCaptureSettings Provides settings for capturing photos.
CameraCaptureUIVideoCaptureSettings Provides settings for capturing videos. The settings include format, maximum resolution, maximum duration, and whether or not to allow trimming.
CameraOptionsUI Provides a method for displaying a UI, by which the UI contains options for the capture of photos, audio recordings and videos.
CapturedFrame Represents a captured video frame.
CapturedFrameControlValues Provides information about the capture device settings that were used for a frame in a variable photo sequence.
CapturedPhoto Represents a photo taken from a capture device such as a webcam attached.
LowLagMediaRecording Provides methods for taking a low lag media recording.
LowLagPhotoCapture Provides methods for taking a low shutter lag photo.
LowLagPhotoSequenceCapture Provides methods for taking a rapid sequence of low shutter lag photos.
MediaCapture Provides functionality for capturing photos, audio, and videos from a capture device, such as a webcam.
MediaCaptureFailedEventArgs Provides data for the MediaCapture.Failed event.
MediaCaptureFocusChangedEventArgs Provides data for the FocusChanged event.
MediaCaptureInitializationSettings Contains initialization settings for the MediaCapture object which are passed to the MediaCapture.InitializeAsync method.
MediaCapturePauseResult Provides the last frame captured and the recorded duration of a media capture operation that has been paused.
MediaCaptureSettings Contains read-only configuration settings for the MediaCapture object.
MediaCaptureStopResult Provides the last frame captured and the recorded duration of a media capture operation that has been stopped.
MediaCaptureVideoProfile Represents a video profile that indicates a configuration supported by the video capture device.
MediaCaptureVideoProfileMediaDescription Represents a description of media that is supported by a video profile.
OptionalReferencePhotoCapturedEventArgs Provides data for the AdvancedPhotoCapture::OptionalReferencePhotoCaptured event.
PhotoCapturedEventArgs Provides data for the photo sequence PhotoCaptured event.
PhotoConfirmationCapturedEventArgs Provides data for the PhotoConfirmationCaptured event.
ScreenCapture Enables an app to capture audio and video of the contents being displayed on the device.
SourceSuspensionChangedEventArgs Provides information about a SourceSuspensionChanged event which is triggered when the capture of audio or video is suspended or resumed.
VideoStreamConfiguration Represents a set of input and output VideoEncodingProperties for a video stream



The Windows.Media.Capture namespace has these delegates.

MediaCaptureFailedEventHandler Represents the method that will handle the MediaCapture.Failed event.
RecordLimitationExceededEventHandler Represents the method that will handle RecordLimitationExceeded and related events.



The Windows.Media.Capture namespace has these enumerations.

AppCaptureHistoricalBufferLengthUnit Specifies the units of the app capture historical buffer.
AppCaptureVideoEncodingBitrateMode Specifies the app capture video encoding bitrate mode.
AppCaptureVideoEncodingFrameRateMode Specifies the video encoding frame rate mode.
AppCaptureVideoEncodingResolutionMode Specifies the app capture video encoding resolution mode.
CameraCaptureUIMaxPhotoResolution Determines the highest resolution the user can select for capturing photos.
CameraCaptureUIMaxVideoResolution Determines the highest resolution the user can select for capturing video.
CameraCaptureUIMode Determines whether the user interface for capturing from the attached camera allows capture of photos, videos, or both photos and videos.
CameraCaptureUIPhotoFormat Determines the format for storing captured photos.
CameraCaptureUIVideoFormat Determines the format for saving captured videos.
KnownVideoProfile Specifies the names of video recording profiles that are known by the system.
MediaCaptureMemoryPreference Specifies the preferred memory location for captured video frames.
MediaCaptureSharingMode Specifies the media frame source sharing mode for a MediaCapture object.
MediaCaptureThermalStatus Specifies the thermal status of a media capture device.
MediaCategory Defines values for types of media categories.
MediaStreamType Specifies a type of stream on a media capture device.
PhotoCaptureSource Specifies which stream on a video camera is used to capture photos.
PowerlineFrequency Specifies the local power line frequency.
StreamingCaptureMode Specifies the streaming mode for a media capture device.
VideoDeviceCharacteristic Indicates which video streams are independent of each other.
VideoRotation Specifies the rotation of the video stream.



The Windows.Media.Capture namespace has these structures.

WhiteBalanceGain Represents the red, green, and blue values of a white balance gain setting.



See the Media capture sample for an example of using media capture.

If you’d like to try working with media capture and other key Windows 8 features, download the hands-on labs for Windows 8. These labs provide a modular, step-by-step introduction to creating a sample Windows Store app in the programming language of your choice (JavaScript and HTML or C# and XAML).

See also

Audio, video, and camera
Audio, video, and camera
Media capture sample
Camera capture UI sample
Camera options UI sample
Device enumeration sample
Real-Time communication sample
Media extension sample
Hands-on labs for Windows 8
Other resources
Supported audio and video formats
OCR sample (Windows 10)
Real-time communication sample (Windows 10)