MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) Method

Definition

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.

Applies to

See also