MediaCapture.PrepareLowLagRecordToStorageFileAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi rekaman jeda rendah menggunakan file yang ditentukan untuk menyimpan rekaman. Metode ini menyediakan objek LowLagMediaRecording yang digunakan untuk mengelola rekaman.
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
Profil pengodean untuk rekaman.
- file
- IStorageFile
File penyimpanan tempat gambar disimpan.
Mengembalikan
Ketika metode ini selesai, objek LowLagMediaRecording dikembalikan yang dapat digunakan untuk memulai pengambilan foto.
Persyaratan Windows
Kemampuan aplikasi |
backgroundMediaRecording
|