예제 #1
0
 public void PlayerShellContentClicked(object sender, EventArgs args)
 {
     foreach (var item in App.Database.SelectAllFromTable <MuR.Model.SQLiteObjects.Audio>())
     {
         CrossMediaManager.Current.Queue.Add(CrossFileManipulation.GetAudio(item.UriFile));
     }
 }
예제 #2
0
 private void PlayItems(IList <Audio> audios)
 {
     foreach (Audio audio in audios)
     {
         CrossMediaManager.Current.Queue.Add(CrossFileManipulation.GetAudio(audio.UriFile));
     }
     CrossMediaManager.Current.Play();
 }