Dela via


CaptureUse Enum

Definition

Defines the values for the primary use of the capture device.

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

Windows requirements

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

Fields

Name Value Description
None 0

The capture device does not have a primary use.

Photo 1

The capture device is used primarily for photos.

Video 2

The capture device is used primarily for video.

Applies to