MediaCapture.PrepareLowLagPhotoSequenceCaptureAsync 方法

定义

初始化低快门延迟照片序列捕获,并提供用于管理录制的 LowLagPhotoSequenceCapture 对象。

public:
 virtual IAsyncOperation<LowLagPhotoSequenceCapture ^> ^ PrepareLowLagPhotoSequenceCaptureAsync(ImageEncodingProperties ^ type) = PrepareLowLagPhotoSequenceCaptureAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<LowLagPhotoSequenceCapture> PrepareLowLagPhotoSequenceCaptureAsync(ImageEncodingProperties const& type);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<LowLagPhotoSequenceCapture> PrepareLowLagPhotoSequenceCaptureAsync(ImageEncodingProperties type);
function prepareLowLagPhotoSequenceCaptureAsync(type)
Public Function PrepareLowLagPhotoSequenceCaptureAsync (type As ImageEncodingProperties) As IAsyncOperation(Of LowLagPhotoSequenceCapture)

参数

type
ImageEncodingProperties

用于图像的编码配置文件。

返回

此方法完成后,将返回 LowLagPhotoSequenceCapture 对象,该对象可用于启动照片序列捕获。

属性

Windows 要求

应用功能
backgroundMediaRecording

注解

使用 MediaCapture.PrepareLowLagPhotoSequenceCaptureAsync 初始化照片序列捕获。 这是一个异步调用,它在完成时返回 LowLagPhotoSequenceCapture 对象,该对象通过调用 LowLagPhotoSequenceCapture.StartAsync 来启动照片序列捕获。

LowLagPhotoSequenceCapture.StartAsync 之前,必须调用 PrepareLowLagPhotoSequenceCaptureAsync

适用于