MediaCapture.StopRecordAsync MediaCapture.StopRecordAsync MediaCapture.StopRecordAsync MediaCapture.StopRecordAsync MediaCapture.StopRecordAsync Method

Definition

Stops recording.

public : IAsyncAction StopRecordAsync()
IAsyncAction StopRecordAsync() const;
public IAsyncAction StopRecordAsync()
Public Function StopRecordAsync() As IAsyncAction
Windows.Media.Capture.MediaCapture.stopRecordAsync().done( /* Your success and error handlers */ );

Returns

Returns a IAsyncAction object that is used to control the asynchronous operation.

Additional features and requirements

Capabilities
webcam backgroundMediaRecording microphone

Remarks

Before playing back a video, the RandomAccessStream should be closed when StopRecordAsync completes.