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

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