Stops recording.
Syntax
mediaCapture.stopRecordAsync().done( /* Your success and error handlers */ );
Parameters
This method has no parameters.
Return value
Type: IAsyncAction
Returns a IAsyncAction object that is used to control the asynchronous operation.
Remarks
Before playing back a video, the RandomAccessStream should be closed when StopRecordAsync completes.
Examples
The following example shows how to stop a video recording.
// Stop the video capture. function stopMediaCaptureSession() { oMediaCapture.stopRecordAsync().then(function (result) { }, errorHandler); }
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
See also
Build date: 12/4/2012