Exemplo n.º 1
0
        public GrooveSharkTrackPlayerHandler(
            ILoggerFacade log,
            GroovesharkTrack track,
            Action <Track> trackComplete,
            Action <bool> isPlaying,
            Action <bool> isBuffering,
            Action <double, double> trackProgress)
        {
            _log           = log;
            _track         = track;
            _trackComplete = trackComplete;
            _isPlaying     = isPlaying;
            _isBuffering   = isBuffering;
            _trackProgress = trackProgress;

            Volume = 0.5f;
        }
        public GrooveSharkTrackPlayerHandler(
            ILoggerFacade log,
            GroovesharkTrack track,
            Action<Track> trackComplete,
            Action<bool> isPlaying,
            Action<bool> isBuffering,
            Action<double, double> trackProgress)
        {
            _log = log;
            _track = track;
            _trackComplete = trackComplete;
            _isPlaying = isPlaying;
            _isBuffering = isBuffering;
            _trackProgress = trackProgress;

            Volume = 0.5f;
        }