Delen via


MediaCapture.StopRecordAsync Method

Definition

Stops recording.

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

Returns

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

Attributes

Windows requirements

App capabilities
backgroundMediaRecording microphone webcam

Remarks

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

Applies to