Ejemplo n.º 1
0
 public PlaylistController(ISession session, IMusicPlayerController musicPlayerController)
 {
     _session = session;
     _musicPlayerController = musicPlayerController;
     _musicPlayerController.TrackComplete += OnTrackComplete;
     _playlist = new Playlist<PlaylistTrack>();
     _playlist.CurrentChanged += OnPlaylistCurrentChanged;
 }
Ejemplo n.º 2
0
 public TrackPlayerService(IMusicPlayerController musicPlayerController)
 {
     _musicPlayerController = musicPlayerController;
 }
 public PlayerCallbackHandler(IMusicPlayerController playerController)
 {
     _playerController = playerController;
     _callbacks = new List<IPlayerCallback>();
 }
Ejemplo n.º 4
0
 public PlayerControlService(IMusicPlayerController musicPlayerController, PlayerCallbackHandler callbackHandler)
 {
     _musicPlayerController = musicPlayerController;
     _callbackHandler = callbackHandler;
 }