Sdílet prostřednictvím


MediaCaptureInitializationSettings.VideoSource Property

Definition

Gets or sets the video source for the capture operation.

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

Property Value

The video source for the capture operation.

Windows requirements

App capabilities
backgroundMediaRecording

Applies to