Microsoft.Windows.Media.Capture Namespace

Provides APIs for configuring an launching the CameraCaptureUI which allows the user to capture photos, videos, or both.

Classes

CameraCaptureUI

Provides a full window UI for capturing audio, video, and photos from the device's camera as well as controls for cropping photos, trimming video, time-delayed capture, and camera settings.

CameraCaptureUIPhotoCaptureSettings

Provides settings for capturing photos with CameraCaptureUI.

CameraCaptureUIVideoCaptureSettings

Provides settings for capturing video with CameraCaptureUI.

Enums

CameraCaptureUIMaxPhotoResolution

Specifies the maximum resolution the user can select for capturing photos with CameraCaptureUI.

CameraCaptureUIMaxVideoResolution

Specifies the maximum resolution the user can select for capturing videos with CameraCaptureUI.

CameraCaptureUIMode

Specifies the capture mode of an instnace of CameraCaptureUI.

CameraCaptureUIPhotoFormat

Specifies the file format of photos captured with an instance of CameraCaptureUI.

CameraCaptureUIVideoFormat

Specifies the file format of videos captured with an instance of CameraCaptureUI.

Remarks

Using CameraCaptureUI is an easy way to add basic photo and video capture functionality to a Windows app without having to create any custom camera UI and without having to use any low-level camera APIs. For more advanced scenarios that require custom camera UI or more refined control over the capture pipeline, use the MediaCapture class. For more information, see Camera.