MediaCapture.StopRecordWithResultAsync Method
Definition
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.
Asynchronously stops the media recording and provides a MediaCaptureStopResult that can be used to help the user align the camera with the last captured frame when restarting recording.
public:
virtual IAsyncOperation<MediaCaptureStopResult ^> ^ StopRecordWithResultAsync() = StopRecordWithResultAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MediaCaptureStopResult> StopRecordWithResultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MediaCaptureStopResult> StopRecordWithResultAsync();
function stopRecordWithResultAsync()
Public Function StopRecordWithResultAsync () As IAsyncOperation(Of MediaCaptureStopResult)
Returns
An asynchronous action that returns a MediaCaptureStopResult upon completion.
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
App capabilities |
backgroundMediaRecording
|
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla