MediaCaptureInitializationSettings.VideoSource 属性

定义

获取或设置捕获操作的视频源。

public:
 property IMediaSource ^ VideoSource { IMediaSource ^ get(); void set(IMediaSource ^ value); };
IMediaSource VideoSource();

void VideoSource(IMediaSource value);
public IMediaSource VideoSource { get; set; }
var iMediaSource = mediaCaptureInitializationSettings.videoSource;
mediaCaptureInitializationSettings.videoSource = iMediaSource;
Public Property VideoSource As IMediaSource

属性值

捕获操作的视频源。

Windows 要求

应用功能
backgroundMediaRecording

适用于