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

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