My app will get all music file from KnownFolders.MusicLibrary
, which will return StorageFile
, but later I found out there's few Class I can choose to play music file.
What I want is that when I play a list of music file, it can be controlled on the universal volume control (like picture below).
I found BackgroundAudioPlayer
Class, BackgroundMediaPlayer
Class, MediaPlayer
Class, and MediaElement
Control. Which one of them is the most suitable Class/Control to play music file?
I'm developing Windows Phone 8.1 Silverlight