public SpotifyLocalAPI()
        {
            _rh = new RemoteHandler();

            _eventTimer = new Timer
            {
                Interval = 50,
                AutoReset = false,
                Enabled = false
            };
            _eventTimer.Elapsed += ElapsedTick;
        }
Example #2
0
 public SpotifyLocalAPI(SpotifyLocalAPIConfig config)
 {
     _rh = new RemoteHandler(config);
     AttachTimer(config.TimerInterval);
 }
Example #3
0
 public SpotifyLocalAPI(int timerIntervall = 50)
 {
     _rh = new RemoteHandler(new SpotifyLocalAPIConfig());
     AttachTimer(timerIntervall);
 }
 public SpotifyLocalAPI(int timerIntervall = 50)
 {
     _rh = new RemoteHandler();
     AttachTimer(timerIntervall);
 }