MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) 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.
Pauses an ongoing record operation.
public:
virtual IAsyncAction ^ PauseRecordAsync(MediaCapturePauseBehavior behavior) = PauseRecordAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction PauseRecordAsync(MediaCapturePauseBehavior const& behavior);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction PauseRecordAsync(MediaCapturePauseBehavior behavior);
function pauseRecordAsync(behavior)
Public Function PauseRecordAsync (behavior As MediaCapturePauseBehavior) As IAsyncAction
Parameters
- behavior
- MediaCapturePauseBehavior
A value indicating whether the media capture hardware resources should be preserved or released while recording is paused.
Returns
An asynchronous action.
- Attributes
Windows requirements
App capabilities |
backgroundMediaRecording
|
Remarks
Resume recording by calling ResumeRecordAsync.