Dela via


MediaFrameSourceKind Enum

Definition

Specifies the kind of data produced by a MediaFrameSource.

public enum class MediaFrameSourceKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class MediaFrameSourceKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum MediaFrameSourceKind
var value = Windows.Media.Capture.Frames.MediaFrameSourceKind.custom
Public Enum MediaFrameSourceKind
Inheritance
MediaFrameSourceKind
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
Custom 0

The media frame source produces custom data.

Color 1

The media frame source produces color data.

Infrared 2

The media frame source produces infrared data.

Depth 3

The media frame source produces depth data.

Audio 4

The media frame source produces audio data.

Image 5

The media frame source produces image data.

Metadata 6

The media frame source produces metadata.

Remarks

Version history

Windows version SDK version Value added
1803 17134 Audio
1803 17134 Image

Applies to