Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Represents a sink to which media can be routed. More...
#include "include/cef_media_router.h"
Public Types | |
typedef cef_media_sink_icon_type_t | IconType |
Public Member Functions | |
virtual CefString | GetId ()=0 |
Returns the ID for this sink. More... | |
virtual CefString | GetName ()=0 |
Returns the name of this sink. More... | |
virtual IconType | GetIconType ()=0 |
Returns the icon type for this sink. More... | |
virtual void | GetDeviceInfo (CefRefPtr< CefMediaSinkDeviceInfoCallback > callback)=0 |
Asynchronously retrieves device info. More... | |
virtual bool | IsCastSink ()=0 |
Returns true if this sink accepts content via Cast. More... | |
virtual bool | IsDialSink ()=0 |
Returns true if this sink accepts content via DIAL. More... | |
virtual bool | IsCompatibleWith (CefRefPtr< CefMediaSource > source)=0 |
Returns true if this sink is compatible with |source|. 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 () |
Represents a sink to which media can be routed.
Instances of this object are retrieved via CefMediaObserver::OnSinks. The methods of this class may be called on any browser process thread unless otherwise indicated.
|
pure virtual |
Asynchronously retrieves device info.
|
pure virtual |
Returns the icon type for this sink.
|
pure virtual |
Returns the ID for this sink.
|
pure virtual |
Returns the name of this sink.
|
pure virtual |
Returns true if this sink accepts content via Cast.
|
pure virtual |
Returns true if this sink is compatible with |source|.
|
pure virtual |
Returns true if this sink accepts content via DIAL.