Camera​Capture​UI​Video​Capture​Settings Camera​Capture​UI​Video​Capture​Settings Camera​Capture​UI​Video​Capture​Settings Camera​Capture​UI​Video​Capture​Settings 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// You can use this class in JavaScript.
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
webcam microphone

Remarks

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

Properties

AllowTrimming AllowTrimming AllowTrimming AllowTrimming

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

public : PlatForm::Boolean AllowTrimming { get; set; }public bool AllowTrimming { get; set; }Public ReadWrite Property AllowTrimming As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

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

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
webcam microphone

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 Format

Determines the format for storing captured videos.

public : CameraCaptureUIVideoFormat Format { get; set; }public CameraCaptureUIVideoFormat Format { get; set; }Public ReadWrite Property Format As CameraCaptureUIVideoFormat// You can use this property in JavaScript.
Value
CameraCaptureUIVideoFormat CameraCaptureUIVideoFormat CameraCaptureUIVideoFormat CameraCaptureUIVideoFormat

A value indicating the format for storing captured videos.

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
webcam microphone

MaxDurationInSeconds 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// You can use this property in JavaScript.
Value
float float float float

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

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
webcam microphone

MaxResolution 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// You can use this property in JavaScript.
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
webcam microphone