public static IceGatheringState ToNet(this PeerConnection.IceGatheringState self) { if (self == PeerConnection.IceGatheringState.Complete) { return(IceGatheringState.Complete); } if (self == PeerConnection.IceGatheringState.Gathering) { return(IceGatheringState.Gathering); } if (self == PeerConnection.IceGatheringState.New) { return(IceGatheringState.New); } throw new ArgumentOutOfRangeException(nameof(self), self, null); }
public void OnIceGatheringChange(PeerConnection.IceGatheringState iceGatheringState) => _peerConnectionDelegate.OnIceGatheringChange(iceGatheringState.ToNativePort());
public void OnIceGatheringChange(PeerConnection.IceGatheringState p0) { _listener.OnIceGatheringChange(p0.ToNet()); }
public void OnIceGatheringChange(PeerConnection.IceGatheringState p0) { }