共用方式為


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來啟動相片序列擷取。

PrepareLowLagPhotoSequenceCaptureAsync 必須在 LowLagPhotoSequenceCapture.StartAsync之前呼叫。

適用於