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:
 virtual IAsyncOperation<MediaCaptureStopResult ^> ^ StopRecordWithResultAsync() = StopRecordWithResultAsync;
IAsyncOperation<MediaCaptureStopResult> StopRecordWithResultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MediaCaptureStopResult> StopRecordWithResultAsync();
function stopRecordWithResultAsync()
Public Function StopRecordWithResultAsync () As IAsyncOperation(Of MediaCaptureStopResult)

Returns

IAsyncOperation<MediaCaptureStopResult>

An asynchronous action that returns a MediaCaptureStopResult upon completion.

Attributes

Windows 10 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