共用方式為


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

屬性值

目前現正播放的音訊類型。

適用於