Dela via


MediaCapture.PrepareLowLagPhotoSequenceCaptureAsync Method

Definition

Initializes the low shutter lag photo sequence capture and provides the LowLagPhotoSequenceCapture object used to manage the recording.

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)

Parameters

type
ImageEncodingProperties

The encoding profile used for the image.

Returns

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

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

Use MediaCapture.PrepareLowLagPhotoSequenceCaptureAsync to initialize the photo sequence capture. This is an asynchronous call which returns a LowLagPhotoSequenceCapture object when it is finished, which is used start the photo sequence capture by calling LowLagPhotoSequenceCapture.StartAsync.

PrepareLowLagPhotoSequenceCaptureAsync must be called before LowLagPhotoSequenceCapture.StartAsync.

Applies to