Chromium Embedded Framework (CEF)  126.2.0+g5c56e98+chromium-126.0.6478.62
CefMediaAccessCallback Class Referenceabstract

Callback interface used for asynchronous continuation of media access permission requests. More...

#include "include/cef_permission_handler.h"

Inheritance diagram for CefMediaAccessCallback:
CefBaseRefCounted

Public Member Functions

virtual void Continue (uint32_t allowed_permissions)=0
 Call to allow or deny media access. More...
 
virtual void Cancel ()=0
 Cancel the media access request. 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 used for asynchronous continuation of media access permission requests.

Member Function Documentation

◆ Cancel()

virtual void CefMediaAccessCallback::Cancel ( )
pure virtual

Cancel the media access request.

◆ Continue()

virtual void CefMediaAccessCallback::Continue ( uint32_t  allowed_permissions)
pure virtual

Call to allow or deny media access.

If this callback was initiated in response to a getUserMedia (indicated by CEF_MEDIA_PERMISSION_DEVICE_AUDIO_CAPTURE and/or CEF_MEDIA_PERMISSION_DEVICE_VIDEO_CAPTURE being set) then |allowed_permissions| must match |required_permissions| passed to OnRequestMediaAccessPermission.


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