13#include <bnb/utils/defs.hpp>
19namespace bnb {
namespace interfaces {
25 static void initialize(
const std::vector<std::string> & resource_paths,
const std::string & client_token);
27 static void release();
52 static void set_log_level(::bnb::interfaces::severity_level level);
69 static void set_log_record_callback(
const std::shared_ptr<::bnb::interfaces::log_record_callback> & cb, ::bnb::interfaces::severity_level lvl);
static void enable_diagnostics(const std::string &output_folder)
Turns on SDK feature - analytics collection.
static std::string get_banuba_sdk_resources_version_archive_string()
The Banuba SDK supports external resources archives.
static void diagnostic_crash()
Diagnostic crash.
static void set_log_record_callback(const std::shared_ptr<::bnb::interfaces::log_record_callback > &cb, ::bnb::interfaces::severity_level lvl)
Set callback to recieve log events from Banuba SDK.
static std::string get_banuba_sdk_version_string()
Returns SDK version as string.
static int32_t get_banuba_sdk_resources_version()
Returns version as number major = version / 10000000 minor = (version - major * 10000000) / 100000 pa...
static int32_t get_banuba_sdk_version()
Returns SDK version as number major = version / 10000000 minor = (version - major * 10000000) / 10000...
static bool check_banuba_sdk_resources_version_ignore_patch()
Checks if Banuba SDK treats as valid the version of external resources.
static bool check_banuba_sdk_resources_version()
Checks if the current version of resources is equal to Banuba SDK expected resources version.
static void enable_telemetry()
Turns on SDK feature - telemetry collection.
static std::string cpu_env()
Get information about CPU capabilities.
static void load_gl_functions()
load GL functions, for dynamic libraries only should be called with active GL context
static void remove_resource_path(const std::string &resource_path)
Remove resources search path.
static void add_resource_path(const std::string &resource_path)
Add resources search path.
static std::string get_banuba_sdk_resources_version_string()
The Banuba SDK tracks the resource version it built for.
::bnb::interfaces::hardware_class get_hardware_class()
Check device SoC class.