MediaCaptureInitializationSettings.PhotoCaptureSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för