/// <summary> /// Sets the shuffle state of Spotify /// </summary> /// <param name="state">The shuffle state to set to</param> public void SetShuffle(Shuffle state) { ShuffleState = state; m_webAPI.SetShuffle(state == Shuffle.Enabled); OnShuffleChanged?.Invoke(ShuffleState); Analysis.Log($"Set Shuffle state to {state.ToString()}"); }
private void SetShuffleInternal(Shuffle state) { ShuffleState = state; OnShuffleChanged?.Invoke(ShuffleState); Analysis.Log($"Set Shuffle mode to {state.ToString()}"); }