Banuba SDK
Loading...
Searching...
No Matches
bnb::interfaces::js_callback Class Referenceabstract

Callback for JS execution results. More...

#include <js_callback.hpp>

Public Member Functions

virtual void on_result (const std::string &result)=0
 This method will be executed on the render thread.
 

Detailed Description

Callback for JS execution results.

Definition at line 16 of file js_callback.hpp.

Constructor & Destructor Documentation

◆ ~js_callback()

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

Definition at line 18 of file js_callback.hpp.

18{}

Member Function Documentation

◆ on_result()

virtual void bnb::interfaces::js_callback::on_result ( const std::string & result)
pure virtual

This method will be executed on the render thread.

Try not to return as fast as possible. param result String represenation of execution result.


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