Esempio n. 1
0
        public void OnNotificationReceived(string data)
        {
            switch (data)
            {
            case "rate":
                OnRate?.Invoke();
                break;

            case "checkin":
                OnCheckIn?.Invoke();
                break;

            case "new":
                OnNew?.Invoke();
                break;
            }
        }
Esempio n. 2
0
 public void OnRateCallback(int soundId, double currentRate)
 {
     OnRate?.Invoke(new HowlRateEventArgs {
         SoundId = soundId, CurrentRate = currentRate
     });
 }
Esempio n. 3
0
 private void OnRate(OnRate obj)
 {
     RateClick();
 }