CameraCaptureUIVideoCaptureSettings CameraCaptureUIVideoCaptureSettings CameraCaptureUIVideoCaptureSettings Class

Definition

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

public sealed class CameraCaptureUIVideoCaptureSettings : ICameraCaptureUIVideoCaptureSettingspublic sealed class CameraCaptureUIVideoCaptureSettings : ICameraCaptureUIVideoCaptureSettingsPublic NotInheritable Class CameraCaptureUIVideoCaptureSettings Implements ICameraCaptureUIVideoCaptureSettings
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
microphone webcam

Remarks

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

Properties

AllowTrimming AllowTrimming AllowTrimming

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

public bool AllowTrimming { get; set; }public bool AllowTrimming { get; set; }Public ReadWrite Property AllowTrimming As bool
Value
bool bool bool

True, if the user will be allowed to trim videos; otherwise, false.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
microphone webcam

Remarks

Video trimming in the CameraCaptureUI is not supported for devices in the Mobile device family. The value of the AllowTrimming property is ignored when your app is running on these devices.

Format Format Format

Determines the format for storing captured videos.

public CameraCaptureUIVideoFormat Format { get; set; }public CameraCaptureUIVideoFormat Format { get; set; }Public ReadWrite Property Format As CameraCaptureUIVideoFormat
Value
CameraCaptureUIVideoFormat CameraCaptureUIVideoFormat CameraCaptureUIVideoFormat

A value indicating the format for storing captured videos.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
microphone webcam

MaxDurationInSeconds MaxDurationInSeconds MaxDurationInSeconds

Determines the maximum duration of a video.

public float MaxDurationInSeconds { get; set; }public float MaxDurationInSeconds { get; set; }Public ReadWrite Property MaxDurationInSeconds As float
Value
float float float

The maximum duration of a video. If this property is set to zero, no maximum duration is enforced.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
microphone webcam

MaxResolution MaxResolution MaxResolution

Determines the maximum resolution that the user can select.

public CameraCaptureUIMaxVideoResolution MaxResolution { get; set; }public CameraCaptureUIMaxVideoResolution MaxResolution { get; set; }Public ReadWrite Property MaxResolution As CameraCaptureUIMaxVideoResolution
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
microphone webcam