Definition at line 21 of file utility_manager.hpp.
◆ cpu_env()
static std::string bnb::interfaces::utility_manager::cpu_env |
( |
| ) |
|
|
static |
Get information about CPU capabilities.
Mainly for usage on Android
- Returns
- JSON-string describing CPU capabilties
◆ diagnostic_crash()
static void bnb::interfaces::utility_manager::diagnostic_crash |
( |
| ) |
|
|
static |
Diagnostic crash.
Use this to check you crash analytics systems.
◆ get_banuba_sdk_nn_version_archive_string()
static std::string bnb::interfaces::utility_manager::get_banuba_sdk_nn_version_archive_string |
( |
| ) |
|
|
static |
The Banuba SDK supports external NN resources archives.
After the initialization of the Banuba SDK, API provides the capability to request the version of the archive. Returns version of NN resources archive as string, represented in the following format “Major.Minor.Patch”. Such a version coincides with the Banuba SDK NN resources version if no external NN resources are used.
◆ get_banuba_sdk_nn_version_string()
static std::string bnb::interfaces::utility_manager::get_banuba_sdk_nn_version_string |
( |
| ) |
|
|
static |
The Banuba SDK tracks the resource version of Neural Networks (NN) resources it built for.
Returns version of NN resources as string, represented in the following format “Major.Minor.Patch”.
◆ get_hardware_class()
::bnb::interfaces::hardware_class bnb::interfaces::utility_manager::get_hardware_class |
( |
| ) |
|
|
static |
Check device SoC class.
On Android first call may require presence of OpenGL context to get info about GPU.
- Returns
- hardware class of device
◆ set_log_record_callback()
static void bnb::interfaces::utility_manager::set_log_record_callback |
( |
const std::shared_ptr<::bnb::interfaces::log_record_callback > & |
cb, |
|
|
::bnb::interfaces::severity_level |
lvl |
|
) |
| |
|
static |
Set callback to recieve log events from Banuba SDK.
- Parameters
-
cb | Callback |
lvl | recieve logs with specified and higher levels |
The documentation for this class was generated from the following file:
- /Users/andreykrivoshey/Work/Repositories/banuba_sdk/libs/recognizer/bnb/recognizer/interfaces/utility_manager.hpp