CameraCaptureUIVideoCaptureSettings class

CameraCaptureUIVideoCaptureSettings class

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

Syntax


Public NotInheritable 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/write

Determines whether or not the video trimming user interface will be enabled.

Format

Read/write

Determines the format for storing captured videos.

MaxDurationInSeconds

Read/write

Determines the maximum duration of a video.

MaxResolution

Read/write

Determines 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, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

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