Share via


CameraCaptureUIVideoCaptureSettings 类

定义

提供用于捕获视频的设置。 设置包括格式、最大分辨率、最长持续时间以及是否允许剪裁。

public ref class CameraCaptureUIVideoCaptureSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CameraCaptureUIVideoCaptureSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CameraCaptureUIVideoCaptureSettings
Public NotInheritable Class CameraCaptureUIVideoCaptureSettings
继承
Object Platform::Object IInspectable CameraCaptureUIVideoCaptureSettings
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
microphone webcam

注解

若要获取此对象的实例,请检索 VideoSettings 属性。

属性

AllowTrimming

确定是否将启用视频剪裁用户界面。

Format

确定存储捕获的视频的格式。

MaxDurationInSeconds

确定视频的最长持续时间。

MaxResolution

确定用户可以选择的最大分辨率。

适用于