MediaCapture.StopRecordWithResultAsync MediaCapture.StopRecordWithResultAsync MediaCapture.StopRecordWithResultAsync MediaCapture.StopRecordWithResultAsync MediaCapture.StopRecordWithResultAsync Method

Definition

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 : IAsyncOperation<MediaCaptureStopResult> StopRecordWithResultAsync()
IAsyncOperation<MediaCaptureStopResult> StopRecordWithResultAsync() const;
public IAsyncOperation<MediaCaptureStopResult> StopRecordWithResultAsync()
Public Function StopRecordWithResultAsync() As IAsyncOperation(Of MediaCaptureStopResult)
Windows.Media.Capture.MediaCapture.stopRecordWithResultAsync().done( /* Your success and error handlers */ );

Returns

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
backgroundMediaRecording