public void OnNotificationReceived(string data) { switch (data) { case "rate": OnRate?.Invoke(); break; case "checkin": OnCheckIn?.Invoke(); break; case "new": OnNew?.Invoke(); break; } }
public void OnRateCallback(int soundId, double currentRate) { OnRate?.Invoke(new HowlRateEventArgs { SoundId = soundId, CurrentRate = currentRate }); }
private void OnRate(OnRate obj) { RateClick(); }