Banuba SDK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bnb::interfaces::error_listener Class Referenceabstract

Interface to receive errors from EffectPlayer. More...

#include <error_listener.hpp>

Public Member Functions

virtual void on_error (const std::string &domain, const std::string &message)=0
 

Detailed Description

Interface to receive errors from EffectPlayer.

Could be called from any thread inside EffectPlayer. So the implementation of this listener should be thread-safe.

Definition at line 19 of file error_listener.hpp.

Constructor & Destructor Documentation

◆ ~error_listener()

virtual bnb::interfaces::error_listener::~error_listener ( )
inlinevirtual

Definition at line 21 of file error_listener.hpp.

21{}

Member Function Documentation

◆ on_error()

virtual void bnb::interfaces::error_listener::on_error ( const std::string & domain,
const std::string & message )
pure virtual
Parameters
domainsource of error (e.g. "js_engine")

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