public static Enums.IceGatheringState ToNativePort(this IceGatheringState platformNative) { if (platformNative == IceGatheringState.Complete) { return(Enums.IceGatheringState.Complete); } if (platformNative == IceGatheringState.Gathering) { return(Enums.IceGatheringState.Gathering); } if (platformNative == IceGatheringState.New) { return(Enums.IceGatheringState.New); } throw new ArgumentOutOfRangeException(nameof(platformNative), platformNative, null); }
public void OnIceGatheringChange(Webrtc.PeerConnection.IceGatheringState p0) => OnIceGatheringStateChange?.Invoke(this, EventArgs.Empty);