Molybden API
Loading...
Searching...
No Matches
molybden::Media Class Referenceabstract

The media controller of a browser instance. More...

#include <media.hpp>

Inheritance diagram for molybden::Media:
molybden::MediaEvents

Public Member Functions

virtual std::shared_ptr< Browserbrowser ()=0
 Returns the browser instance of this media controller.
 
virtual void muteAudio ()=0
 Mutes all audio output.
 
virtual void unmuteAudio ()=0
 Unmutes all audio output.
 
virtual bool isAudioMuted ()=0
 Checks if audio output is muted.
 
virtual bool isCurrentlyAudible ()=0
 Checks if audio is currently audible on the loaded web page.
 

Additional Inherited Members

- Public Attributes inherited from molybden::MediaEvents
Event< AudioStartedPlayingonAudioStartedPlaying
 Invoked when audio has been started playing on the web page.
 
Event< AudioStoppedPlayingonAudioStoppedPlaying
 Invoked when audio has been stopped playing on the web page.
 

Detailed Description

The media controller of a browser instance.


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