Dela via


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;
/// [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