Share via


MediaPlayerAudioDeviceType Enum

Definition

Describes the primary usage of the device that is being used to play back audio. This value is used by MediaPlayer.AudioDeviceType.

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

The device is a console and the audio session might support games, notifications, voice commands, and so on.

Multimedia 1

The device is intended for multimedia playback and/or recording.

Communications 2

The device is primarily for voice communications.

Applies to