예제 #1
0
        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);
 }
예제 #4
0
 public SpotifyLocalAPI(int timerIntervall = 50)
 {
     _rh = new RemoteHandler();
     AttachTimer(timerIntervall);
 }