Delen via


MediaCategory Enum

Definition

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
Inheritance
MediaCategory
Attributes

Windows requirements

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

Fields

Name Value Description
Other 0

Media category is other.

Communications 1

Media is intended for real-time communications.

Media 2

General media.

GameChat 3

Media is game chat.

Speech 4

Media is speech.

FarFieldSpeech 5

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

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