public override async void LoggedIn(SpotifySession session, SpotifyError error) { base.LoggedIn(session, error); await WaitForBool(session.User().IsLoaded); session.PreferredBitrate(BitRate._320k); }
public override async void LoggedIn(SpotifySession session, SpotifyError error) { if (error != SpotifyError.Ok) { if (OnLoginResult != null) OnLoginResult(false); return; } base.LoggedIn(session, error); await WaitForBool(session.User().IsLoaded); session.PreferredBitrate(BitRate._320k); }