MediaPlayer.AudioCategory Property

Definition

Gets or sets the type of audio that is currently being played.

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

void AudioCategory(MediaPlayerAudioCategory value);
public MediaPlayerAudioCategory AudioCategory { get; set; }
var mediaPlayerAudioCategory = mediaPlayer.audioCategory;
mediaPlayer.audioCategory = mediaPlayerAudioCategory;
Public Property AudioCategory As MediaPlayerAudioCategory

Property Value

MediaPlayerAudioCategory

The type of audio that is currently being played.

Applies to