Share via


MediaCapture.PrepareLowLagRecordToStorageFileAsync Methode

Definition

Initialisiert die Aufzeichnung mit geringer Verzögerung mithilfe der angegebenen Datei zum Speichern der Aufzeichnung. Diese Methode stellt das LowLagMediaRecording-Objekt bereit, das zum Verwalten der Aufzeichnung verwendet wird.

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)

Parameter

encodingProfile
MediaEncodingProfile

Das Codierungsprofil für die Aufzeichnung.

file
IStorageFile

Die Speicherdatei, in der das Image gespeichert wird.

Gibt zurück

Nach Abschluss dieser Methode wird ein LowLagMediaRecording-Objekt zurückgegeben, das zum Starten der Fotoaufnahme verwendet werden kann.

Windows-Anforderungen

App-Funktionen
backgroundMediaRecording

Gilt für: