PhotoCaptureSource Enum

Definition

Specifies which stream on a video camera is used to capture photos.

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

Windows requirements

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

Fields

Auto 0

Automatically select the stream.

Photo 2

Use the photo stream.

VideoPreview 1

Use the video stream.

Remarks

Some video cameras have a separate photo stream that can capture still images at higher resolution than the video stream. For more information on configuring the MediaCapture object, see MediaCaptureInitializationSettings.

Applies to