MediaCategory Enum


Defines values for types of media categories.

public enum class MediaCategory
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaCategory
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaCategory
var value = Windows.Media.Capture.MediaCategory.other
Public Enum MediaCategory

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)


Communications 1

Media is intended for real-time communications.

FarFieldSpeech 5

Media is audio captured with the intent of capturing voice sources located in the ‘far field’. (Far away from the microphone.)

GameChat 3

Media is game chat.

Media 2

General media.

Other 0

Media category is other.

Speech 4

Media is speech.

UniformSpeech 6

Media is captured audio that requires consistent speech processing for the captured audio stream across all Windows devices. Used by applications that process speech data using machine learning algorithms.

VoiceTyping 7

Media is audio captured with the intent of enabling dictation or typing by voice.

Applies to