public void OnVoipState(VoipState voipState) { if (_foregroundChannel == null) { _foregroundChannel = _container.Resolve<IForegroundChannel>(); } _foregroundChannel.OnVoipState(voipState); }