Go to the documentation of this file.
7 #import <Foundation/Foundation.h>
12 #define DJINNI_EXPORT __attribute__((__visibility__("default")))
18 + (void)initialize:(nonnull NSArray<NSString *> *)resourcePaths
19 clientToken:(nonnull NSString *)clientToken;
24 + (void)addResourcePath:(nonnull NSString *)resourcePath;
27 + (void)removeResourcePath:(nonnull NSString *)resourcePath;
36 + (nonnull NSString *)
cpuEnv;
46 + (void)setLogLevel:(BNBSeverityLevel)level;
53 + (void)enableDiagnostics:(nonnull NSString *)outputFolder;
64 lvl:(BNBSeverityLevel)lvl;
nonnull NSString * getBanubaSdkVersionString()
Returns SDK version as string.
nonnull NSString * getBanubaSdkResourcesVersionString()
The Banuba SDK tracks the resource version it built for.
BNBHardwareClass getHardwareClass()
Check device SoC class.
int32_t getBanubaSdkResourcesVersion()
Returns version as number major = version / 10000000 minor = (version - major * 10000000) / 100000 pa...
nonnull NSString * getBanubaSdkResourcesVersionArchiveString()
The Banuba SDK supports external resources archives.
BOOL checkBanubaSdkResourcesVersionIgnorePatch()
Checks if Banuba SDK treats as valid the version of external resources.
BOOL checkBanubaSdkResourcesVersion()
Checks if the current version of resources is equal to Banuba SDK expected resources version.
nonnull NSString * cpuEnv()
Get information about CPU capabilities.
void enableTelemetry()
Turns on SDK feature - telemetry collection.
int32_t getBanubaSdkVersion()
Returns SDK version as number major = version / 10000000 minor = (version - major * 10000000) / 10000...
void diagnosticCrash()
Diagnostic crash.
void loadGlFunctions()
load GL functions, for dynamic libraries only should be called with active GL context