Banuba SDK
Public Member Functions | List of all members
bnb::interfaces::effect_event_listener Class Referenceabstract

Callback interface for effect events. More...

#include <effect_event_listener.hpp>

Public Member Functions

virtual void on_effect_event (const std::string &name, const std::unordered_map< std::string, std::string > &params)=0
 Callback function for custom effect events. More...
 

Detailed Description

Callback interface for effect events.

Definition at line 17 of file effect_event_listener.hpp.

Member Function Documentation

◆ on_effect_event()

virtual void bnb::interfaces::effect_event_listener::on_effect_event ( const std::string &  name,
const std::unordered_map< std::string, std::string > &  params 
)
pure virtual

Callback function for custom effect events.

Function that is to be invoked by effect on certain events (e.g. analytics).

Note
The function is executed in Render thread.
Parameters
nameevent name
paramsmap of (string, string) which describes events parameters (key-value pairs)

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