Esempio n. 1
0
        private void PlaybackStatusChanged(object source, PlaybackStatusChangedEventArgs e)
        {
            UpdateUIToReflectServiceStatus();

              // TODO: Migrate this logic to the service itself?
              if (e.OldStatus == PlaybackService.Status.Preparing && e.NewStatus == PlaybackService.Status.Prepared) {
            playbackBinder.Start();
              }
        }
Esempio n. 2
0
 private void ServicePlaybackStatusChanged(object source, PlaybackStatusChangedEventArgs e)
 {
     if (PlaybackStatusChanged != null) {
     PlaybackStatusChanged(source, e);
       }
 }