Ejemplo n.º 1
0
        public SpotifyLocalAPI()
        {
            _rh = new RemoteHandler();

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