private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("OnJoiningSession", swigMethodTypes0)) swigDelegate0 = new SwigDelegateSessionListener_0(SwigDirectorOnJoiningSession); if (SwigDerivedClassHasMethod("OnJoinSucceeded", swigMethodTypes1)) swigDelegate1 = new SwigDelegateSessionListener_1(SwigDirectorOnJoinSucceeded); if (SwigDerivedClassHasMethod("OnJoinFailed", swigMethodTypes2)) swigDelegate2 = new SwigDelegateSessionListener_2(SwigDirectorOnJoinFailed); if (SwigDerivedClassHasMethod("OnSessionDisconnected", swigMethodTypes3)) swigDelegate3 = new SwigDelegateSessionListener_3(SwigDirectorOnSessionDisconnected); SharingClientPINVOKE.SessionListener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3); }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("OnJoiningSession", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateSessionListener_0(SwigDirectorOnJoiningSession); } if (SwigDerivedClassHasMethod("OnJoinSucceeded", swigMethodTypes1)) { swigDelegate1 = new SwigDelegateSessionListener_1(SwigDirectorOnJoinSucceeded); } if (SwigDerivedClassHasMethod("OnJoinFailed", swigMethodTypes2)) { swigDelegate2 = new SwigDelegateSessionListener_2(SwigDirectorOnJoinFailed); } if (SwigDerivedClassHasMethod("OnSessionDisconnected", swigMethodTypes3)) { swigDelegate3 = new SwigDelegateSessionListener_3(SwigDirectorOnSessionDisconnected); } SharingClientPINVOKE.SessionListener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3); }