共用方式為


MediaCapture.PrepareVariablePhotoSequenceCaptureAsync 方法

定義

初始化可變相片序列擷取,並提供用來管理錄製的 VariablePhotoSequenceCapture 物件。

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

參數

type
ImageEncodingProperties

用於影像的編碼設定檔。

傳回

此方法完成時,會傳回 VariablePhotoSequenceCapture 物件,可用來啟動相片序列擷取。

屬性

Windows 需求

應用程式功能
backgroundMediaRecording

適用於