MediaCapture.PrepareVariablePhotoSequenceCaptureAsync(ImageEncodingProperties) Method

Definition

Initializes the variable photo sequence capture and provides the VariablePhotoSequenceCapture object used to manage the recording.

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)

Parameters

type
ImageEncodingProperties

The encoding profile used for the image.

Returns

IAsyncOperation<VariablePhotoSequenceCapture>

When this method completes, a VariablePhotoSequenceCapture object is returned which can be used to start the photo sequence capture.

Attributes

Windows 10 requirements

App capabilities
backgroundMediaRecording

Applies to