Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaElement.AudioCategory property

Applies to Windows and Windows Phone

Gets or sets a value that describes the purpose of the audio information in an audio stream.

Syntax


public AudioCategory AudioCategory { get; set; }


<MediaElement AudioCategory="audioCategoryMemberName" /.

Property value

Type: AudioCategory

A value of the enumeration.

Remarks

For hardware audio offload to be automatically applied, the audio category must be set to ForegroundOnlyMedia or BackgroundCapableMedia. Hardware audio offload optimizes audio rendering which can improve functionality and battery life.

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