MediaPlayer.AudioCategory 属性

定义

获取或设置当前正在播放的音频的类型。

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

属性值

当前正在播放的音频的类型。

适用于