private void CallsOnCallStatusChange(CiscoTelePresenceCodec codec, CallStatusEventType eventType, Call call) { if (call != _call) { return; } if (eventType == CallStatusEventType.Ended) { if (_timer != null) { _timer.Stop(); _timerLabel.Clear(); } Parent.ResetView(); return; } if (eventType == CallStatusEventType.StatusUpdated && call.Connected) { _list[2].Show(); _list[3].Show(); StartCallTimer(); } UpdateStatusText(call.Status); _nameLabel.SetText(call.DisplayName); _list[3].SetFeedback(call.OnHold); }
private void CallsOnCallStatusChange(CiscoTelePresenceCodec codec, CallStatusEventType eventType, Call call) { if (!RequestedVisibleState) { return; } if (eventType == CallStatusEventType.NewCall && !_callView.Visible) { _callView.Show(call); } }
internal virtual void OnCallStatusChange(CiscoTelePresenceCodec codec, CallStatusEventType eventType, Call call) { try { Debug.WriteSuccess(eventType.ToString(), call.ToString()); var handler = CallStatusChange; if (handler != null) { handler(codec, eventType, call); } } catch (Exception e) { CloudLog.Exception(e, "Error Calls.OnCallStatusChange() Event"); } }