public unsafe void OnRouteStateChanged(cef_media_route_t *route, CefMediaRouteConnectionState state) { fixed(cef_media_observer_t *self = &this) { ((delegate * unmanaged[Stdcall] < cef_media_observer_t *, cef_media_route_t *, CefMediaRouteConnectionState, void >)on_route_state_changed)(self, route, state); } }
private static unsafe void OnRouteStateChangedImpl(cef_media_observer_t *self, cef_media_route_t *route, CefMediaRouteConnectionState state) { var instance = GetInstance((IntPtr)self) as CefMediaObserver; if (instance == null || ((ICefMediaObserverPrivate)instance).AvoidOnRouteStateChanged()) { ReleaseIfNonNull((cef_base_ref_counted_t *)route); return; } instance.OnRouteStateChanged(CefMediaRoute.Wrap(CefMediaRoute.Create, route), state); }
/// <summary> /// The connection state of |route| has changed. /// </summary> protected internal unsafe virtual void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state) { }
public override void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state) { _implementation.OnRouteStateChanged(route, state); }
/// <summary> /// The connection state of |route| has changed. /// </summary> public unsafe virtual void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state) { }
public unsafe extern void OnRouteStateChanged(cef_media_route_t *route, CefMediaRouteConnectionState state);
protected internal unsafe override void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state) { _implementation.OnRouteStateChanged(route, state); }
/// <summary> /// The connection state of |route| has changed. /// </summary> protected abstract void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state);
private void on_route_state_changed(cef_media_observer_t *self, cef_media_route_t *route, CefMediaRouteConnectionState state) { CheckSelf(self); var mRoute = CefMediaRoute.FromNative(route); OnRouteStateChanged(mRoute, state); }