Esempio n. 1
0
        public static PeerConnection.ContinualGatheringPolicy ToNative(this ContinualGatheringPolicy self)
        {
            switch (self)
            {
            case ContinualGatheringPolicy.Once:
                return(PeerConnection.ContinualGatheringPolicy.GatherOnce);

            case ContinualGatheringPolicy.Continually:
                return(PeerConnection.ContinualGatheringPolicy.GatherContinually);

            default:
                throw new ArgumentOutOfRangeException(nameof(self), self, null);
            }
        }
 public static RTCContinualGatheringPolicy ToPlatformNative(this ContinualGatheringPolicy nativePort) => (RTCContinualGatheringPolicy)nativePort;
 public static RTCContinualGatheringPolicy ToNative(this ContinualGatheringPolicy self)
 {
     return((RTCContinualGatheringPolicy)self);
 }