Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MediaCapture.PrepareLowLagRecordToStorageFileAsync Method
Definition
- Namespace:
- Windows.Media.Capture
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile ^ encodingProfile, IStorageFile ^ file) = PrepareLowLagRecordToStorageFileAsync;
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile const& encodingProfile, IStorageFile const& file);
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToStorageFileAsync(MediaEncodingProfile encodingProfile, IStorageFile file);
function prepareLowLagRecordToStorageFileAsync(encodingProfile, file)
Public Function PrepareLowLagRecordToStorageFileAsync (encodingProfile As MediaEncodingProfile, file As IStorageFile) As IAsyncOperation(Of LowLagMediaRecording)
Parameters
- encodingProfile
- MediaEncodingProfile
The encoding profile for the recording.
- file
- 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.
Windows requirements
| Requirements | Description |
|---|---|
| App capabilities |
backgroundMediaRecording
|
Applies to
Feedback
Was this page helpful?
