Dela via


StreamingCaptureMode Enum

Definition

Specifies the streaming mode for a media capture device.

public enum class StreamingCaptureMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class StreamingCaptureMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum StreamingCaptureMode
var value = Windows.Media.Capture.StreamingCaptureMode.audioAndVideo
Public Enum StreamingCaptureMode
Inheritance
StreamingCaptureMode
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

Name Value Description
AudioAndVideo 0

Capture audio and video.

Audio 1

Capture audio only.

Video 2

Capture video only.

Remarks

For more information on configuring the MediaCapture object, see MediaCaptureInitializationSettings.

Applies to