public unsafe void OnMediaRouteCreateFinished(CefMediaRouteCreateResult result, [Immutable] cef_string_t *error, cef_media_route_t *route) { fixed(cef_media_route_create_callback_t *self = &this) { ((delegate * unmanaged[Stdcall] < cef_media_route_create_callback_t *, CefMediaRouteCreateResult, cef_string_t *, cef_media_route_t *, void >)on_media_route_create_finished)(self, result, error, route); } }
public override void OnMediaRouteCreateFinished(CefMediaRouteCreateResult result, string error, CefMediaRoute route) { _implementation.OnMediaRouteCreateFinished(result, error, route); }
// void (*)(_cef_media_route_create_callback_t* self, cef_media_route_create_result_t result, const cef_string_t* error, _cef_media_route_t* route)* private static unsafe void OnMediaRouteCreateFinishedImpl(cef_media_route_create_callback_t *self, CefMediaRouteCreateResult result, cef_string_t *error, cef_media_route_t *route) { var instance = GetInstance((IntPtr)self) as CefMediaRouteCreateCallback; if (instance == null || ((ICefMediaRouteCreateCallbackPrivate)instance).AvoidOnMediaRouteCreateFinished()) { ReleaseIfNonNull((cef_base_ref_counted_t *)route); return; } instance.OnMediaRouteCreateFinished(result, CefString.Read(error), CefMediaRoute.Wrap(CefMediaRoute.Create, route)); }
/// <summary> /// Method that will be executed when the route creation has finished. |result| /// will be CEF_MRCR_OK if the route creation succeeded. |error| will be a /// description of the error if the route creation failed. |route| is the /// resulting route, or NULL if the route creation failed. /// </summary> public unsafe virtual void OnMediaRouteCreateFinished(CefMediaRouteCreateResult result, string error, CefMediaRoute route) { }
/// <summary> /// Method that will be executed when the route creation has finished. |result| /// will be CEF_MRCR_OK if the route creation succeeded. |error| will be a /// description of the error if the route creation failed. |route| is the /// resulting route, or NULL if the route creation failed. /// </summary> protected internal unsafe virtual void OnMediaRouteCreateFinished(CefMediaRouteCreateResult result, string error, CefMediaRoute route) { }
protected internal unsafe override void OnMediaRouteCreateFinished(CefMediaRouteCreateResult result, string error, CefMediaRoute route) { _implementation.OnMediaRouteCreateFinished(result, error, route); }
/// <summary> /// Method that will be executed when the route creation has finished. |result| /// will be CEF_MRCR_OK if the route creation succeeded. |error| will be a /// description of the error if the route creation failed. |route| is the /// resulting route, or empty if the route creation failed. /// </summary> protected abstract void OnMediaRouteCreateFinished(CefMediaRouteCreateResult result, string error, CefMediaRoute route);
private void on_media_route_create_finished(cef_media_route_create_callback_t *self, CefMediaRouteCreateResult result, cef_string_t *error, cef_media_route_t *route) { CheckSelf(self); var mError = cef_string_t.ToString(error); var mRoute = CefMediaRoute.FromNativeOrNull(route); OnMediaRouteCreateFinished(result, mError, mRoute); }
public unsafe extern void OnMediaRouteCreateFinished(CefMediaRouteCreateResult result, [Immutable] cef_string_t *error, cef_media_route_t *route);