PhotoCaptureSource Enum
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.
Specifies which stream on a video camera is used to capture photos.
public enum class PhotoCaptureSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PhotoCaptureSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PhotoCaptureSource
var value = Windows.Media.Capture.PhotoCaptureSource.auto
Public Enum PhotoCaptureSource
- Inheritance
-
PhotoCaptureSource
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
microphone
webcam
|
Fields
Auto | 0 | Automatically select the stream. |
Photo | 2 | Use the photo stream. |
VideoPreview | 1 | Use the video stream. |
Remarks
Some video cameras have a separate photo stream that can capture still images at higher resolution than the video stream. For more information on configuring the MediaCapture object, see MediaCaptureInitializationSettings.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro