Expand Minimize

MediaElement.AudioDeviceType property

Applies to Windows and Windows Phone

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

Syntax


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


<MediaElement AudioDeviceType="audioDeviceTypeMemberName" /.

Property value

Type: AudioDeviceType

A value of the enumeration.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

MediaElement

 

 

Show:
© 2014 Microsoft