static void OnSelectedCandidatePairChange_cb(IntPtr inst) { try { WebRTCICETransport __obj = GLib.Object.GetObject(inst, false) as WebRTCICETransport; __obj.OnOnSelectedCandidatePairChange(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void OnNewCandidate_cb(IntPtr inst, IntPtr _object) { try { WebRTCICETransport __obj = GLib.Object.GetObject(inst, false) as WebRTCICETransport; __obj.OnOnNewCandidate(GLib.Marshaller.Utf8PtrToString(_object)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static bool GatherCandidates_cb(IntPtr inst) { try { WebRTCICETransport __obj = GLib.Object.GetObject(inst, false) as WebRTCICETransport; bool __result; __result = __obj.OnGatherCandidates(); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }