MediaCapturePauseBehavior Enum

Definition

Defines the behavior when media capture is paused with a call to PauseAsync or PauseRecordAsync.

public enum class MediaCapturePauseBehavior
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaCapturePauseBehavior
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaCapturePauseBehavior
var value = Windows.Media.Devices.MediaCapturePauseBehavior.retainHardwareResources
Public Enum MediaCapturePauseBehavior
Inheritance
MediaCapturePauseBehavior
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

ReleaseHardwareResources 1

The hardware resources are released while capturing is paused.

RetainHardwareResources 0

The calling app keeps control of the hardware resources, such as the camera, while capturing is paused.

Applies to