MediaCapture.StopRecordAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.