Ejemplo n.º 1
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            EightTrackDataService obj = new EightTrackDataService();
            obj.playEightTrackSong("807789426", "31453", (se, ev) =>
                {
                    MyAudioPlaybackAgent.AudioPlayer player = new MyAudioPlaybackAgent.AudioPlayer();

                    player.getTrack(se.set.track.name, se.set.track.performer, se.set.track.release_name, se.set.track.url);
                    BackgroundAudioPlayer.Instance.Play();
                });
        }
Ejemplo n.º 2
0
 public EightTrackDataHandler()
 {
     _dataservice = new EightTrackDataService();
 }