Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Microsoft.Windows.Media.Capture Namespace

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Classes

Name Description
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

Name Description
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.


Feedback

Was this page helpful?