MediaCaptureInitializationSettings.PhotoCaptureSource Property

Definition

Gets or sets the stream that is used for photo capture.

public:
 property PhotoCaptureSource PhotoCaptureSource { PhotoCaptureSource get(); void set(PhotoCaptureSource value); };
PhotoCaptureSource PhotoCaptureSource();

void PhotoCaptureSource(PhotoCaptureSource value);
public PhotoCaptureSource PhotoCaptureSource { get; set; }
var photoCaptureSource = mediaCaptureInitializationSettings.photoCaptureSource;
mediaCaptureInitializationSettings.photoCaptureSource = photoCaptureSource;
Public Property PhotoCaptureSource As PhotoCaptureSource

Property Value

The stream that is used for photo capture.

Windows requirements

App capabilities
backgroundMediaRecording microphone webcam

Applies to