예제 #1
0
 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);
     }
 }
예제 #2
0
        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);
        }
예제 #3
0
 /// <summary>
 /// The connection state of |route| has changed.
 /// </summary>
 protected internal unsafe virtual void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state)
 {
 }
예제 #4
0
 public override void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state)
 {
     _implementation.OnRouteStateChanged(route, state);
 }
예제 #5
0
 /// <summary>
 /// The connection state of |route| has changed.
 /// </summary>
 public unsafe virtual void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state)
 {
 }
예제 #6
0
 public unsafe extern void OnRouteStateChanged(cef_media_route_t *route, CefMediaRouteConnectionState state);
예제 #7
0
 protected internal unsafe override void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state)
 {
     _implementation.OnRouteStateChanged(route, state);
 }
예제 #8
0
 /// <summary>
 /// The connection state of |route| has changed.
 /// </summary>
 protected abstract void OnRouteStateChanged(CefMediaRoute route, CefMediaRouteConnectionState state);
예제 #9
0
        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);
        }