public void RemoveListener([NotNull] IDeviceStateHandlerListener listener) { lock (listenersLock) { listeners.Remove(listener); } }
public void AddListener([NotNull] IDeviceStateHandlerListener listener) { lock (listenersLock) { listeners.Add(listener); } }
public void AddListener([NotNull] IDeviceStateHandlerListener listener) { SpotifyDevice.AddListener(listener); }