public void SendStatusUpdate(QueryStatus status)
        {
            lock (_lastQueryStatusLock)
            {
                _lastQueryStatus = status.CurrentStatus;
            }

            Log.O("Status Update: {0} -> {1}",
                  status.PreviousStatus.ToString(),
                  status.CurrentStatus.ToString());

            foreach (var obj in _pcqList)
            {
                obj.StatusUpdateReceiver(status);
            }
        }
示例#2
0
        public void SendStatusUpdate(QueryStatus status)
        {
            lock (_lastQueryStatusLock)
            {
                _lastQueryStatus = status.CurrentStatus;
            }

            Log.O("Status Update: {0} -> {1}",
                status.PreviousStatus.ToString(),
                status.CurrentStatus.ToString());

            foreach (var obj in _pcqList)
            {
                obj.StatusUpdateReceiver(status);
            }
        }
 public void StatusUpdateReceiver(QueryStatus status)
 {
     //Nothing to do here
     if (status.CurrentStatus == QueryStatusValue.Playing && status.PreviousStatus != QueryStatusValue.Paused)
     {
         _doneNowPlaying = false;
     }
 }
示例#4
0
 public void StatusUpdateReceiver(QueryStatus status)
 {
 }