MediaCapture.PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile, IStorageFile) MediaCapture.PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile, IStorageFile) MediaCapture.PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile, IStorageFile) MediaCapture.PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile, IStorageFile) MediaCapture.PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile, IStorageFile) Method

Definition

Initializes the low lag recording using the specified file to store the recording. This method provides the LowLagMediaRecording object used to managed the recording.

public : IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile encodingProfile, IStorageFile file)
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile encodingProfile, IStorageFile file) const;
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile encodingProfile, IStorageFile file)
Public Function PrepareLowLagRecordToStorageFileAsync(encodingProfile As MediaEncodingProfile, file As IStorageFile) As IAsyncOperation(Of LowLagMediaRecording)
Windows.Media.Capture.MediaCapture.prepareLowLagRecordToStorageFileAsync(encodingProfile, file).done( /* Your success and error handlers */ );

Parameters

encodingProfile
MediaEncodingProfile MediaEncodingProfile MediaEncodingProfile

The encoding profile for the recording.

file
IStorageFile IStorageFile IStorageFile

The storage file where the image is saved.

Returns

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

Additional features and requirements

Capabilities
backgroundMediaRecording