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(); } }
private void ServicePlaybackStatusChanged(object source, PlaybackStatusChangedEventArgs e) { if (PlaybackStatusChanged != null) { PlaybackStatusChanged(source, e); } }