MediaCapture.StopRecordAsync Method

Definition

Stops recording.

public:
 virtual IAsyncAction ^ StopRecordAsync() = StopRecordAsync;
IAsyncAction StopRecordAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StopRecordAsync();
function stopRecordAsync()
Public Function StopRecordAsync () As IAsyncAction

Returns

IAsyncAction

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

Attributes

Windows 10 requirements

App capabilities
backgroundMediaRecording microphone webcam

Remarks

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

Applies to