MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) Method

Definition

Pauses an ongoing record operation.

public:
 virtual IAsyncAction ^ PauseRecordAsync(MediaCapturePauseBehavior behavior) = PauseRecordAsync;
IAsyncAction PauseRecordAsync(MediaCapturePauseBehavior 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

IAsyncAction

An asynchronous action.

Attributes

Windows 10 requirements

App capabilities
backgroundMediaRecording

Remarks

Resume recording by calling ResumeRecordAsync.

Applies to

See also