Share via


MediaPlayer.AudioDeviceType Property

Definition

Gets or sets a value that describes the primary usage of the device that is being used to play back audio.

public:
 property MediaPlayerAudioDeviceType AudioDeviceType { MediaPlayerAudioDeviceType get(); void set(MediaPlayerAudioDeviceType value); };
MediaPlayerAudioDeviceType AudioDeviceType();

void AudioDeviceType(MediaPlayerAudioDeviceType value);
public MediaPlayerAudioDeviceType AudioDeviceType { get; set; }
var mediaPlayerAudioDeviceType = mediaPlayer.audioDeviceType;
mediaPlayer.audioDeviceType = mediaPlayerAudioDeviceType;
Public Property AudioDeviceType As MediaPlayerAudioDeviceType

Property Value

The audio device type.

Applies to