コード例 #1
0
ファイル: Endpoint.cs プロジェクト: salihy/pjsua2-csharp
        public int transportCreate(pjsip_transport_type_e type, TransportConfig cfg)
        {
            int ret = pjsua2PINVOKE.Endpoint_transportCreate(swigCPtr, (int)type, TransportConfig.getCPtr(cfg));

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }