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

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

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