Chromium Embedded Framework (CEF)  130.1.2+g48f3ef6+chromium-130.0.6723.44
CefMediaRouteCreateCallback Class Referenceabstract

Callback interface for CefMediaRouter::CreateRoute. More...

#include "include/cef_media_router.h"

Inheritance diagram for CefMediaRouteCreateCallback:
CefBaseRefCounted

Public Types

typedef cef_media_route_create_result_t RouteCreateResult
 

Public Member Functions

virtual void OnMediaRouteCreateFinished (RouteCreateResult result, const CefString &error, CefRefPtr< CefMediaRoute > route)=0
 Method that will be executed when the route creation has finished. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Callback interface for CefMediaRouter::CreateRoute.

The methods of this class will be called on the browser process UI thread.

Member Typedef Documentation

◆ RouteCreateResult

Member Function Documentation

◆ OnMediaRouteCreateFinished()

virtual void CefMediaRouteCreateCallback::OnMediaRouteCreateFinished ( RouteCreateResult  result,
const CefString error,
CefRefPtr< CefMediaRoute route 
)
pure virtual

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.


The documentation for this class was generated from the following file: