CameraCaptureUIVideoCaptureSettings class

CameraCaptureUIVideoCaptureSettings class

[ Updated for UWP apps on Windows 10. For Windows 8.x articles, see the archive ]

Provides settings for capturing videos. The settings include format, maximum resolution, maximum duration, and whether or not to allow trimming.

Syntax


public sealed class CameraCaptureUIVideoCaptureSettings

Members

The CameraCaptureUIVideoCaptureSettings class has these types of members:

Methods

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

Properties

The CameraCaptureUIVideoCaptureSettings class has these properties.

PropertyAccess typeDescription

AllowTrimming

Read/writeDetermines whether or not the video trimming user interface will be enabled.

Format

Read/writeDetermines the format for storing captured videos.

MaxDurationInSeconds

Read/writeDetermines the maximum duration of a video.

MaxResolution

Read/writeDetermines the maximum resolution that the user can select.

 

Remarks

To get an instance of this object, retrieve the VideoSettings property.

Requirements (Windows 10 device family)

Device family

Universal

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 only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Capabilities

webcam
microphone

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

See also

Object

 

 

Show:
© 2016 Microsoft