MediaCaptureInitializationSettings.PhotoCaptureSource 属性

定义

获取或设置用于照片捕获的流。

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

属性值

用于照片捕获的流。

Windows 要求

应用功能
backgroundMediaRecording microphone webcam

适用于